Point gamestats counter: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(-added class hierarchy, cleanup) |
||
Line 1: | Line 1: | ||
{{CD|CPointGamestatsCounter|file1=GameStats.cpp}} | |||
{{Entity|point_gamestats_counter|type=e0}} A generic game statistics counter. | {{Entity|point_gamestats_counter|type=e0}} A generic game statistics counter. | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Name of statistic counter|intn=name|string}} | |||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
Line 10: | Line 10: | ||
{{IO|SetName|Changes name of statistic counter|param=string}} | {{IO|SetName|Changes name of statistic counter|param=string}} | ||
{{IO|Increment|Increments named statistic counter by specified value|param=float}} | {{IO|Increment|Increments named statistic counter by specified value|param=float}} | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
Revision as of 03:59, 21 July 2023
![]() |
---|
CPointGamestatsCounter |
![]() |
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
ortarget
).
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 the
Enable
input).
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.