Point gamestats counter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
No edit summary
Line 1: Line 1:
{{base_point}}
{{base point|point_gamestats_counter}}
{{stub}}
 
== Entity description ==
Generic game statistics counter.
 
== Keyvalues ==
{{KV|Name of statistic counter|string}}
{{KV Origin}}
{{KV Targetname}}
{{KV EnableDisable}}
 
== Inputs ==
{{IO|SetName|Changes name of statistic counter|param=string}}
{{IO|Increment|Increments named statistic counter by specified value|param=float}}
{{I Targetname}}
{{I EnableDisable}}
 
== Outputs ==
{{O Targetname}}

Revision as of 03:23, 11 June 2011

Template:Base point

Entity description

Generic game statistics counter.

Keyvalues

Name of statistic counter ([todo internal name (i)]) <string>

Origin:

Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
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

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.

Outputs