game_zone_player

From Valve Developer Community
Revision as of 09:21, 13 February 2024 by N0one (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

game_zone_player is an e0 available in all Template:1 games.Template:1 topicon

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{1}} template.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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)