Point gamestats counter

From Valve Developer Community
Revision as of 03:59, 21 July 2023 by Nescius (talk | contribs) (-added class hierarchy, cleanup)
Jump to navigation Jump to search
C++ Class hierarchy
CPointGamestatsCounter
CPointEntity
CBaseEntity
C++ GameStats.cpp

Template:Entity A generic game statistics counter.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Name of statistic counter (name) <string>
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

SetName <stringRedirectInput/string>
Changes name of statistic counter
Increment <floatRedirectInput/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.