Game zone player: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Availability: Class & File) |
||
Line 6: | Line 6: | ||
==Availability== | ==Availability== | ||
{{in game|brush}} {{game-base}} | {{in game|brush}} {{game-base}} | ||
{{in code|class= | {{in code|class=CGamePlayerZone|file=maprules.cpp}} | ||
==Keyvalues== | ==Keyvalues== | ||
Line 12: | Line 12: | ||
*{{kv parentname}} | *{{kv parentname}} | ||
<!--no flags--> | |||
==Inputs== | ==Inputs== | ||
*{{i targetname}} | *{{i targetname}} |
Revision as of 15:03, 14 April 2006
Entity Description
An entity used to count the number of players within a zone.
Availability
Template:In game Template:Game-base Template:In code
Keyvalues
Inputs
- Template:I targetname
- Template:I parentname
- CountPlayersInZone
- Count the number of players in the zone, and fire the corresponding outputs.
Outputs
- Template:O targetname
- OnPlayerInZone
- Fired whenever a count finds a player inside the zone, with the player as the activator.
- OnPlayerOutZone
- Fired whenever a count finds a player outside the zone, with the player as the activator.
- 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.