Nuclide
Software Development Kit for id Technology
|
Server-Entity: Momentary Sliding Door.
QUAKED momentary_door (0 .5 .8) ?
Dynamic door that will move back down if it's not being used.
This entity was introduced in Half-Life (1998).
Public Member Functions | |
void | momentary_door (void) |
virtual void | SpawnKey (string, string) |
This method handles entity key/value pairs on map load. More... | |
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 | SetMovementDirection (void) |
virtual void | MovementDone (void) |
virtual void | MovementStateChanged (void) |
Called whenever the movement state changes. More... | |
virtual float | GetProgress (void) |
Returns the progress of the momentary, which is a value between 0.0 and 1.0. More... | |
void momentary_door::momentary_door | ( | void | ) |
|
virtual |
Returns the progress of the momentary, which is a value between 0.0 and 1.0.
Reimplemented from NSMomentary.
|
virtual |
|
virtual |
Called whenever the movement state changes.
Reimplemented from NSMomentary.
|
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.
|
virtual |
|
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.