This article's documentation is for the "GoldSrc" engine. Click here for more information.

Game player team (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{This is a|name=game_player_team |e0|engine=1}} This entity makes a player change teams. ==Key Values== {{Hl1_kv_targetname}} {{hl1 kv master}} {{hl1 kv target}} == Flags =...")
 
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
 
Line 1: Line 1:
{{This is a|name=game_player_team |e0|engine=1}} This entity makes a player change teams.
{{this is a|point entity|name=game_player_team|engine=GoldSrc}} This entity makes a player change teams.


==Key Values==
==Key Values==

Latest revision as of 21:09, 17 May 2024

game_player_team is a point entity available in all GoldSrc GoldSrc games. This entity makes a player change teams.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Master (master) <targetname>
Name of a master entity. If the master hasn't been activated, this entity will not activate.
Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.

Flags

Remove On fire : [1]
If enabled, the entity will be removed after being triggered.
Kill Player : [2]
The player will be killed when the entity is activated.
Gib Player : [4]
The player will be pulled apart when the entity is activated.