game_zone_player
Jump to navigation
Jump to search
CGamePlayerZone defined in maprules.cpp
|
game_zone_player is a brush entity available in all
Source games. It is used to count the number of players, dead or alive, within the volume of the brush.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- CountPlayersInZone
- Count the number of players in the zone, and fire the corresponding outputs.
Outputs
- OnPlayerInZone <void>
- Fired whenever a count finds a player inside the zone.


This article has been marked as a candidate for speedy deletion because it has been deprecated.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{o}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Please use {{o}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
- OnPlayerOutZone <void>
- Fired whenever a count finds a player outside the zone.


This article has been marked as a candidate for speedy deletion because it has been deprecated.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{o}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Please use {{o}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
- PlayersInCount <integer>
- Fired after a count, and contains the number of players found inside the zone.
- PlayersOutCount <integer>
- Fired after a count, and contains the number of players found outside the zone.
See Also
Todo: deprecate in favor of using the category directly