Game zone player

From Valve Developer Community
Revision as of 15:23, 14 December 2008 by Craziestdan (talk | contribs) (→‎Entity Description: Removed dead links)
Jump to navigation Jump to search

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.