Nuclide
Software Development Kit for id Tech
|
Server-Entity: func_tracktrain Track Controller. More...
Public Member Functions | |
void | func_trackchange (void) |
virtual void | SpawnKey (string, string) |
This method handles entity key/value pairs on map load. More... | |
virtual void | Spawned (void) |
Called when the entity is fulled initialized. More... | |
virtual void | Save (float) |
Handles saving a copy of this entity to a given filehandle. More... | |
virtual void | Restore (string, string) |
Similar to NSIO::SpawnKey but for save-game fields. More... | |
virtual void | MoverFinishesMoving (void) |
Overridable: Called when the mover completes its movement to a destination. More... | |
virtual void | MoverStartsMoving (void) |
Overridable: Called when the mover starts moving from its position to another. More... | |
Server-Entity: func_tracktrain Track Controller.
QUAKED func_trackchange (0 .5 .8) ? x x x BOTTOM NOMOVE x X_AXIS Y_AXIS
A rotating, moving platform that will transport func_tracktrain entities between two path_track entities.
This version of the entity is designed for interactive trains. If you want to use them with automated (trigger controlled) func_tracktrain entities, use func_trackautochange.
This entity was introduced in Half-Life (1998).
Overridable: Called when the mover completes its movement to a destination.
Reimplemented from func_plat.
Overridable: Called when the mover starts moving from its position to another.
Reimplemented from func_plat.
Similar to NSIO::SpawnKey
but for save-game fields.
Whatever you write into file handles within your NSIO::Save()
method needs to be read back in here.
Reimplemented from func_platrot.
Handles saving a copy of this entity to a given filehandle.
Within you want to use the NSIO::SaveFloat() etc. methods to write the internal member attributes to the specified file handle.
Reimplemented from func_platrot.
Called when the entity is fulled initialized.
Any spawn key/value info pairs have already been dealt with. So now we can make full decisions on the entity. Always make sure to call super::Spawned();
inside your method when overriding.
Reimplemented from func_plat.
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 func_platrot.