Game zone player: Difference between revisions
Jump to navigation
Jump to search
m (link + wording) |
m (Added ", dead or alive,".) |
||
Line 2: | Line 2: | ||
==Entity Description== | ==Entity Description== | ||
A [[brush entity]] used to count the number of players 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. | ||
==Availability== | ==Availability== |
Revision as of 19:10, 20 March 2007
Entity Description
A brush entity used to count the number of players, dead or alive, within the volume of the brush.
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.