Game zone player: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Availability: Class & File)
m (→‎Outputs: {{plact}})
Line 22: Line 22:
*{{o targetname}}
*{{o targetname}}
*'''OnPlayerInZone'''
*'''OnPlayerInZone'''
:Fired whenever a count finds a player inside the zone, with the player as the activator.
:Fired whenever a count finds a player inside the zone. {{plact}}
*'''OnPlayerOutZone'''
*'''OnPlayerOutZone'''
:Fired whenever a count finds a player outside the zone, with the player as the activator.
:Fired whenever a count finds a player outside the zone. {{plact}}
*'''PlayersInCount <integer>'''
*'''PlayersInCount <integer>'''
:Fired after a count, and contains the number of players found inside the zone.
:Fired after a count, and contains the number of players found inside the zone.

Revision as of 19:58, 16 April 2006

Template:Wrongtitle

Entity Description

An entity used to count the number of players within a zone.

Availability

Template:In game Template:Game-base Template:In code

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.