This article's documentation is for anything that uses the Source engine. Click here for more information.

game_player_team

From Valve Developer Community
Jump to: navigation, search

game_player_team is a point entity available in all Source Source games. It changes the team of the player who activates it.

In code it is represented by class CGamePlayerTeam, defined in maprules.cpp.

Keyvalues

game_team_master to use (target) <string>
Master (Obsolete) (master) <string>
Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.
Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Flags

  • 1 : Remove On fire
  • 2 : Kill Player
  • 4 : Gib Player

Inputs

Outputs