Game zone player: Difference between revisions
Jump to navigation
Jump to search
m (→Outputs: {{plact}}) |
m (doxygen) |
||
Line 6: | Line 6: | ||
==Availability== | ==Availability== | ||
{{in game|brush}} {{game-base}} | {{in game|brush}} {{game-base}} | ||
{{in code|class=CGamePlayerZone|file=maprules.cpp}} | {{in code|class=class_c_game_player_zone.html CGamePlayerZone|file=maprules_8cpp-source.html maprules.cpp}} | ||
==Keyvalues== | ==Keyvalues== |
Revision as of 14:39, 2 August 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. Template:Plact
- OnPlayerOutZone
- Fired whenever a count finds a player outside the zone. Template:Plact
- 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.