Game player team: Difference between revisions
Jump to navigation
Jump to search
m (link) |
(Cleanup) |
||
Line 1: | Line 1: | ||
{{ | {{base point|game_player_team}} It 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. | ||
==Keyvalues== | == Keyvalues == | ||
{{KV|game_team_master to use|string}} | |||
{{KV|Master (Obsolete)|string|Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.}} | |||
{{KV Targetname}} | |||
==Flags== | == Flags == | ||
*1 : Remove On fire | * 1 : Remove On fire | ||
*2 : Kill Player | * 2 : Kill Player | ||
*4 : Gib Player | * 4 : Gib Player | ||
==Inputs== | == Inputs == | ||
{{I Targetname}} | |||
==Outputs== | == Outputs == | ||
{{O Targetname}} |
Revision as of 06:28, 26 July 2011
Template:Base point It changes the team of the player who activates it.
In code it is represented by class CGamePlayerTeam, defined in maprules.cpp.
Keyvalues
- Master (Obsolete) ([todo internal name (i)]) <string>
- Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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