Game zone player: Difference between revisions
Jump to navigation
Jump to search

Kestrelguy (talk | contribs) m (updated template usage.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{lang| | {{lang|title=game_zone_player}} | ||
{{ | {{entity|game_zone_player|type=e2}} It is used to count the number of players, dead or alive, within the volume of the brush. | ||
{{code class|CGamePlayerZone|maprules.cpp}} | {{code class|CGamePlayerZone|maprules.cpp}} | ||
Revision as of 08:36, 24 January 2023


Template:Entity It is used to count the number of players, dead or alive, within the volume of the brush.
Keyvalues
Inputs
- CountPlayersInZone
- Count the number of players in the zone, and fire the corresponding outputs.
Outputs
- OnPlayerInZone
- Fired whenever a count finds a player inside the zone. (!activator is the player.)
- OnPlayerOutZone
- Fired whenever a count finds a player outside the zone. (!activator is the player.)
- 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.