Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
This article's documentation is for anything that uses the Source engine. Click here for more information.

point_gamestats_counter

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CPointGamestatsCounter defined in GameStats.cpp
CPointEntity
CBaseEntity

point_gamestats_counter is a point entity available in all Source Source games. A generic game statistics counter. In most games only prints incremented statistic into console or file if the game is started with launch options -gamestatslogging or -gamestatsloggingtofile respectively.

Keyvalues

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Name of statistic counter (name) <string>

EnableDisable:

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

SetName <string>
Changes name of statistic counter
Increment <float>
Increments named statistic counter by specified value

EnableDisable:

Enable
Disable
Enable/disable this entity from performing its task. It might also disappear from view.