Tf logic cp timer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(No longer a stub)
Line 7: Line 7:
==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV|controlpoint|target_source|The control point the timer applies to}}
{{KV|Control Point|target_source|The control point the timer applies to}}
{{KV|timer_length|int|How long the timer should be, in seconds.}}
{{KV|Timer length (in seconds)|int|How long the timer should be, in seconds.}}


==Inputs==
==Inputs==

Revision as of 11:39, 7 November 2011

Team Fortress 2 tf_logic_cp_timer is a point entity available in Team Fortress 2 Team Fortress 2. !FGD

Entity description

Runs a timeout timer for a control point. It adds itself to the HUD icon for the control point.

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

Control Point ([todo internal name (i)]) <string>
The control point the timer applies to
Timer length (in seconds) ([todo internal name (i)]) <integer>
How long the timer should be, in seconds.

Inputs

Outputs

OnCountdownStart
The countdown has begun, since the control point is now available for capture.
OnCountdownEnd
The time has counted down and the capture point is no longer eligible for overtime.