Game player team: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (link)
Line 3: Line 3:


==Entity Description==
==Entity Description==
An entity that changes the team of the player who activates it.  
An [[entity]] that changes the team of the player who activates it.  


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

Revision as of 18:54, 21 November 2010

Template:Wrongtitle Template:Base point

Entity Description

An entity that changes the team of the player who activates it.

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

Keyvalues

Name (targetname) <string>[ Edit ]
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

  • target
<string> Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.

Flags

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

Inputs

Outputs