Server-Entity: Tracktrain Path Node.
QUAKED path_track (.5 .3 0) (-8 -8 -8) (8 8 8) DISABLED FIRE_ONCE BRANCHREVERSE DISABLETRAIN
OVERVIEW
Node entities used for func_tracktrains. It's like a path_corner, but for tracktrains.
KEYS
- "targetname" : Name
- "target" : Target when triggered.
- "killtarget" : Target to kill when triggered.
- "altpath" : When enabled, will point to this instead.
- "netname" : Target to trigger when the train gets stopped here.
INPUTS
- "ToggleAlternatePath" : Toggles between
target
and altpath
.
- "EnableAlternatePath" : Next node will be the one set in
altpath
.
- "DisableAlternatePath" : Next node will be the one set in
target
.
- "TogglePath" : Toggles the ability to use this node.
- "EnablePath" : Enables the ability to use this node.
- "DisablePath" : Disables the ability to use this node.
SPAWNFLAGS
- DISABLED (1) : Start disabled.
- FIRE_ONCE (2) : Fire pass target once.
- BRANCHREVERSE (4) : Complicated.
- DISABLETRAIN (8) : Disables train when it passes.
TRIVIA
This entity was introduced in Half-Life (1998).
|
void | path_track (void) |
|
nonvirtual void | PathEndTrigger (entity, triggermode_t) |
|
virtual void | DebugDraw (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.
|
|
virtual void | SpawnKey (string, string) |
| This method handles entity key/value pairs on map load.
|
|
virtual void | Save (float) |
| Handles saving a copy of this entity to a given filehandle.
|
|
virtual void | Restore (string, string) |
| Similar to ncIO::SpawnKey() but for save-game fields.
|
|
virtual void | Trigger (entity, triggermode_t) |
| Called whenever we're legacy triggered by another object or function.
|
|
virtual void | Input (entity, string, string) |
| Called when we are being prompted by another object/function with an input message.
|
|
virtual string | GetPathTarget (void) |
|
virtual string | GetSelfTarget (void) |
|
virtual path_corner | GetPathTargetEntity (void) |
|
virtual path_corner | GetSelfTargetEntity (void) |
|
virtual bool | DisablesTrain (void) |
|