Game zone player: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Craziestdan (talk | contribs) (→Entity Description: Removed dead links) |
||
Line 7: | Line 7: | ||
{{sensor_brush}} | {{sensor_brush}} | ||
In code it is represented by class CGamePlayerZone, defined in maprules.cpp. | |||
==Keyvalues== | ==Keyvalues== |
Revision as of 15:23, 14 December 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.
In code it is represented by class CGamePlayerZone, defined in maprules.cpp.
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.