Nuclide
Software Development Kit for id Tech
NSPointTrigger Class Reference

This entity class represents point-entity triggers. More...

#include <NSPointTrigger.h>

Inheritance diagram for NSPointTrigger:
NSEntity NSSound NSSoundScape NSSpawnPoint cycler_weapon env_bubbles env_cascade_light env_explosion env_fire env_fog env_fog_controller env_global env_hudhint env_instructor_hint env_message env_physexplosion env_projectedtexture env_shake env_spark env_steam game_counter game_counter_set game_end game_player_equip game_player_hurt game_player_team game_score game_team_set game_text info_hint info_intermission info_landmark info_node info_node_air info_notnull info_null info_particle_system info_waypoint infodecal light light_dynamic logic_achievement logic_auto logic_case logic_relay logic_timer math_counter monstermaker multi_manager multisource path_corner player_weaponstrip point_camera point_servercommand point_spotlight point_trigger random_speaker random_trigger script_model scripted_sentence scripted_sequence targ_speaker target_cdaudio trigger_auto trigger_camera trigger_changetarget trigger_relay

Public Member Functions

void NSPointTrigger (void)
 
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 DebugDraw (void)
 
nonvirtual void InitPointTrigger (void)
 Sets up a point entity trigger with no size. More...
 
virtual void SpawnKey (string, string)
 This method handles entity key/value pairs on map load. 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...
 

Detailed Description

This entity class represents point-entity triggers.

It's primary function is to consistently set up triggers. In your sub-class you'll probably want to call NSTrigger::InitPointTrigger() inside its NSIO::Respawn() reimplementation.

Constructor & Destructor Documentation

◆ NSPointTrigger()

void NSPointTrigger::NSPointTrigger ( void  )

Member Function Documentation

◆ DebugDraw()

void NSPointTrigger::DebugDraw ( void  )
virtual

Reimplemented from NSEntity.

Reimplemented in light, path_track, scripted_sequence, and NSSoundScape.

◆ InitPointTrigger()

void NSPointTrigger::InitPointTrigger ( void  )

Sets up a point entity trigger with no size.

◆ Respawn()

◆ Restore()

◆ Save()

◆ SpawnKey()


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