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

Game zone player (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tabs|game_zone_player|goldsrc=1|source=1|main=source}} {{This is a|name=game_zone_player|e0|engine=1}} This entity is used to count the number of players, dead or alive, wit...")
 
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
 
Line 1: Line 1:
{{tabs|game_zone_player|goldsrc=1|source=1|main=source}}
{{tabs|game_zone_player|goldsrc=1|source=1|main=source}}
{{This is a|name=game_zone_player|e0|engine=1}} This entity is used to count the number of players, dead or alive, within the volume of the brush.
{{this is a|point entity|name=game_zone_player|engine=GoldSrc}} This entity is used to count the number of players, dead or alive, within the volume of the brush.


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

Latest revision as of 21:10, 17 May 2024

game_zone_player is a point entity available in all GoldSrc GoldSrc games. This entity is used to count the number of players, dead or alive, within the volume of the brush.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Target for IN players (intarget) <targetname>
All players inside the area covered by the brush fire this target.
Target for OUT players (outtarget) <targetname>
All players outside the area covered by the brush fire this target.
Counter for IN players (incount) <targetname>
This game_counter's value will be set to the number of players inside the area.
Target for OUT players (outcount) <targetname>
This game_counter's value will be set to the number of players outside the area.
Master (master) <targetname>
Name of a master entity. If the master hasn't been activated, this entity will not activate. (only in Day of Defeat Day of Defeat)