Nuclide
Software Development Kit for id Tech
item_eyescanner Class Reference

Server-Entity: Iris Scanner. More...

Inheritance diagram for item_eyescanner:
NSRenderableEntity

Public Member Functions

void item_eyescanner (void)
 
virtual void Respawn (void)
 Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state. More...
 
virtual void SpawnKey (string, string)
 This method handles entity key/value pairs on map load. More...
 
virtual void Trigger (entity, triggermode_t)
 Called whenever we're legacy triggered by another object or function. More...
 
virtual void OnPlayerUse (void)
 
nonvirtual void Extend (void)
 
nonvirtual void Retract (void)
 
nonvirtual void AccessDenied (void)
 
nonvirtual void AccessGranted (void)
 
nonvirtual void StartFlashing (void)
 
nonvirtual void StopFlashing (void)
 

Detailed Description

Server-Entity: Iris Scanner.

QUAKED item_eyescanner (0 .5 .8) ? DISABLED

OVERVIEW

An Iris Scanner that animates and triggers different targets depending on who's using it.

KEYS

  • "targetname" : Name
  • "locked_target" : Target when triggered.
  • "unlocked_target" : Target when triggered.

TRIVIA

This entity was introduced in Half-Life for PS2 (2001).

Constructor & Destructor Documentation

◆ item_eyescanner()

void item_eyescanner::item_eyescanner ( void  )

Member Function Documentation

◆ AccessDenied()

void item_eyescanner::AccessDenied ( void  )

◆ AccessGranted()

void item_eyescanner::AccessGranted ( void  )

◆ Extend()

void item_eyescanner::Extend ( void  )

◆ OnPlayerUse()

void item_eyescanner::OnPlayerUse ( void  )
virtual

◆ Respawn()

void item_eyescanner::Respawn ( void  )
virtual

Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.

Reimplemented from NSRenderableEntity.

◆ Retract()

void item_eyescanner::Retract ( void  )

◆ SpawnKey()

void item_eyescanner::SpawnKey ( string  strKey,
string  strValue 
)
virtual

This method handles entity key/value pairs on map load.

You can easily convert the strValue parameter using the ReadFloat etc. methods that are part of NSIO.

Reimplemented from NSRenderableEntity.

◆ StartFlashing()

void item_eyescanner::StartFlashing ( void  )

◆ StopFlashing()

void item_eyescanner::StopFlashing ( void  )

◆ Trigger()

void item_eyescanner::Trigger ( entity  act,
triggermode_t  state 
)
virtual

Called whenever we're legacy triggered by another object or function.

Reimplemented from NSTrigger.


The documentation for this class was generated from the following file: