Nuclide
Software Development Kit for id Technology
trigger_endsection Class Reference

About this class

Server-Entity: Triggers Game Ending To Menu.

QUAKED trigger_endsection (.5 .5 .5) ?

OVERVIEW

This trigger shuts down the server. Useful for when a singleplayer game ends, as it takes you to the main menu.

KEYS

  • "targetname" : Name

TRIVIA

This entity was introduced in Half-Life (1998).

Inheritance diagram for trigger_endsection:
NSBrushTrigger

Public Member Functions

void trigger_endsection (void)
 
virtual void Trigger (entity, triggermode_t)
 Called whenever we're legacy triggered by another object or function. 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...
 

Constructor & Destructor Documentation

◆ trigger_endsection()

void trigger_endsection::trigger_endsection ( void  )

Member Function Documentation

◆ Respawn()

void trigger_endsection::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 NSBrushTrigger.

◆ Trigger()

void trigger_endsection::Trigger ( entity  act,
triggermode_t  state 
)
virtual

Called whenever we're legacy triggered by another object or function.

Reimplemented from NSTrigger.


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