Nuclide
Software Development Kit for id Tech
|
This entity class represents brush volume based triggers. More...
#include <NSBrushTrigger.h>
Public Member Functions | |
void | NSBrushTrigger (void) |
virtual int | GetValue (entity) |
Returns what we will pass onto other's NSTrigger::GetMaster() calls if we're their master. 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... | |
nonvirtual void | InitBrushTrigger (void) |
Sets up a brush trigger volume based on the brush information. More... | |
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 InitBrushTrigger()
inside its ::Respawn()
reimplementation.
|
virtual |
Returns what we will pass onto other's NSTrigger::GetMaster()
calls if we're their master.
Reimplemented from NSTrigger.
Sets up a brush trigger volume based on the brush information.
Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
Reimplemented from NSEntity.
Reimplemented in func_mortar_field, func_traincontrols, game_zone_player, trigger_autosave, trigger_cdaudio, trigger_changelevel, trigger_counter, trigger_endsection, trigger_hurt, trigger_look, trigger_monsterjump, trigger_once, trigger_playerfreeze, trigger_teleport, trigger_transition, trigger_gravity, and trigger_push.