Game zone player: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
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. | ||
{{sensor_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}} |
Revision as of 19:14, 10 May 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.