Game zone player

From Valve Developer Community
Revision as of 12:35, 6 January 2009 by BobasEltri (talk | contribs) (casitcaro)
Jump to navigation Jump to search

trocrolv 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

Count the number of players in the zone, and fire the corresponding outputs.

Outputs

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.