![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
This entity class represents brush volume based triggers.
It's primary function is to consistently set up triggers. In your sub-class you'll probably want to call ncBrushTrigger::InitBrushTrigger() inside its ncIO::Respawn() reimplementation.
Public Member Functions | |
| void | ncBrushTrigger (void) |
| virtual int | GetValue (entity) |
Returns what we will pass onto other's ncTrigger::GetMaster() calls if we're their master. | |
| 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. | |
| nonvirtual void | InitBrushTrigger (void) |
| Sets up a brush trigger volume based on the brush information. | |
| void ncBrushTrigger::ncBrushTrigger | ( | void | ) |
|
virtual |
Returns what we will pass onto other's ncTrigger::GetMaster() calls if we're their master.
Reimplemented from ncTrigger.
| void ncBrushTrigger::InitBrushTrigger | ( | void | ) |
Sets up a brush trigger volume based on the brush information.
|
virtual |
Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
Reimplemented from ncEntity.
Reimplemented in func_mortar_field, func_traincontrols, game_zone_player, trigger_autosave, trigger_capture_area, trigger_cdaudio, trigger_changelevel, trigger_counter, trigger_endround, trigger_endsection, trigger_gravity, trigger_hurt, trigger_look, trigger_monsterjump, trigger_once, trigger_playerfreeze, trigger_push, trigger_teleport, and trigger_transition.