Nuclide
Software Development Kit for id Technology
|
Server-Entity: Relay Trigger.
QUAKED logic_relay (1 0 0) (-8 -8 -8) (8 8 8) ONCE FAST
Triggers outputs within an I/O system chain, which can be enabled/disabled at will.
When a logic_relay is removed via spawnflag ONCE it won't survive match respawns.
This entity was introduced in Half-Life 2 (2004).
Public Member Functions | |
void | logic_relay (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 | Input (entity, string, string) |
Called when we are being prompted by another object/function with an input message. More... | |
void logic_relay::logic_relay | ( | void | ) |
|
virtual |
Called when we are being prompted by another object/function with an input message.
Reimplemented from NSEntity.
|
virtual |
Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
Reimplemented from NSPointTrigger.
|
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 NSPointTrigger.