Nuclide
Software Development Kit for id Tech
game_player_team Class Reference

Server-Entity: Player Team Controller. More...

Inheritance diagram for game_player_team:
NSPointTrigger

Public Member Functions

void game_player_team (void)
 
virtual void Trigger (entity, triggermode_t)
 Called whenever we're legacy triggered by another object or function. More...
 

Detailed Description

Server-Entity: Player Team Controller.

QUAKED game_player_team (1 .5 0) (-8 -8 -8) (8 8 8) REMOVE KILL GIB

OVERVIEW

Allows the player to change teams.

KEYS

  • "targetname" : Name
  • "master" : Name of the multisource or game_team_master regulating this entity.
  • "target" : Name of the game_team_master that specifies the new team.

SPAWNFLAGS

  • REMOVE (1) : Will be removed once triggered.
  • KILL (2) : Kills the player when activated.
  • GIB (4) : Gibs the player when activated.

TRIVIA

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

Constructor & Destructor Documentation

◆ game_player_team()

void game_player_team::game_player_team ( void  )

Member Function Documentation

◆ Trigger()

void game_player_team::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: