Nuclide
Software Development Kit for id Technology
NSBrushTrigger Class Reference

About this class

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.

Inheritance diagram for NSBrushTrigger:
NSEntity func_mortar_field func_tankcontrols func_traincontrols game_zone_player script_brushmodel script_origin script_struct trigger_autosave trigger_cdaudio trigger_changelevel trigger_counter trigger_endsection trigger_gravity trigger_hurt trigger_look trigger_monsterjump trigger_multiple trigger_once trigger_playerfreeze trigger_push trigger_teleport trigger_transition

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...
 

Constructor & Destructor Documentation

◆ NSBrushTrigger()

void NSBrushTrigger::NSBrushTrigger ( void  )

Member Function Documentation

◆ GetValue()

int NSBrushTrigger::GetValue ( entity  queryingEntity)
virtual

Returns what we will pass onto other's NSTrigger::GetMaster() calls if we're their master.

Reimplemented from NSTrigger.

◆ InitBrushTrigger()

void NSBrushTrigger::InitBrushTrigger ( void  )

Sets up a brush trigger volume based on the brush information.

◆ Respawn()

void NSBrushTrigger::Respawn ( void  )
virtual

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.


The documentation for this class was generated from the following files: