Game zone player: Difference between revisions
Jump to navigation
Jump to search
m (Added ", dead or alive,".) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=game_zone_player}} | {{wrongtitle|title=game_zone_player}} | ||
{{base_brush}} | |||
==Entity Description== | ==Entity Description== | ||
A [[brush entity]] used to count the number of players, dead or alive, within the volume of the brush. | A [[brush entity]] used to count the number of players, dead or alive, within the volume of the brush. | ||
{{in code|class=class_c_game_player_zone.html CGamePlayerZone|file=maprules_8cpp-source.html maprules.cpp}} | {{in code|class=class_c_game_player_zone.html CGamePlayerZone|file=maprules_8cpp-source.html maprules.cpp}} | ||
Line 29: | Line 29: | ||
*'''PlayersOutCount <integer>''' | *'''PlayersOutCount <integer>''' | ||
:Fired after a count, and contains the number of players found outside the zone. | :Fired after a count, and contains the number of players found outside the zone. | ||
Revision as of 12:33, 12 April 2008
Template:Wrongtitle Template:Base brush
Entity Description
A brush entity used to count the number of players, dead or alive, within the volume of the brush.
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.