Game zone player: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entity Description: Removed dead links)
m (casitcaro)
Line 1: Line 1:
trocrolv
{{wrongtitle|title=game_zone_player}}
{{wrongtitle|title=game_zone_player}}
{{base_brush}}
{{base_brush}}

Revision as of 12:35, 6 January 2009

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.