Game zone player: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎Availability: Class & File)
Line 6: Line 6:
==Availability==
==Availability==
{{in game|brush}} {{game-base}}
{{in game|brush}} {{game-base}}
{{in code|class=???|file=???}}
{{in code|class=CGamePlayerZone|file=maprules.cpp}}


==Keyvalues==
==Keyvalues==
Line 12: Line 12:
*{{kv parentname}}
*{{kv parentname}}


==Flags==
<!--no flags-->
None.
 
==Inputs==
==Inputs==
*{{i targetname}}
*{{i targetname}}

Revision as of 15:03, 14 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, with the player as the activator.
  • OnPlayerOutZone
Fired whenever a count finds a player outside the zone, with the player as the activator.
  • 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.