Nuclide
Software Development Kit for id Tech
trigger_playerfreeze Class Reference

Server-Entity: Player Movement Inhibitor. More...

Inheritance diagram for trigger_playerfreeze:
NSBrushTrigger

Public Member Functions

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

Detailed Description

Server-Entity: Player Movement Inhibitor.

QUAKED trigger_playerfreeze (.5 .5 .5) (-8 -8 -8) (8 8 8)

OVERVIEW

Trigger that freezes all clients, until it is triggered again. Freezing a player means they're unable to move, they can still look around.

KEYS

  • "targetname" : Name
  • "killtarget" : Target to remove when triggered.

NOTES

Ideas: Add ability to supress looking around, firing weapons, using items and so on.

TRIVIA

This entity was introduced in Opposing Force (1999).

Constructor & Destructor Documentation

◆ trigger_playerfreeze()

void trigger_playerfreeze::trigger_playerfreeze ( void  )

Member Function Documentation

◆ customphysics()

void trigger_playerfreeze::customphysics ( void  )
virtual

◆ Respawn()

void trigger_playerfreeze::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_playerfreeze::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: