Tf logic cp timer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{tf2 point|tf_logic_cp_timer}} {{stub}} ==Entity description== {{todo}} ==Keyvalues== {{KV Targetname}} ==Inputs== {{I Targetname}} ==Outputs== {{O Targetname}} {{IO|OnCoun…')
 
(No longer a stub)
Line 1: Line 1:
{{tf2 point|tf_logic_cp_timer}}
{{tf2 point|tf_logic_cp_timer}}
 
{{Not in FGD}}
{{stub}}


==Entity description==
==Entity description==
{{todo}}
Runs a timeout timer for a control point. It adds itself to the HUD icon for the control point.


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV|controlpoint|target_source|The control point the timer applies to}}
{{KV|timer_length|int|How long the timer should be, in seconds.}}


==Inputs==
==Inputs==
Line 14: Line 15:
==Outputs==
==Outputs==
{{O Targetname}}
{{O Targetname}}
{{IO|OnCountdownStart}}
{{IO|OnCountdownStart|The countdown has begun, since the control point is now available for capture.}}
{{IO|OnCountdownEnd}}
{{IO|OnCountdownEnd|The time has counted down and the capture point is no longer eligible for overtime.}}

Revision as of 16:22, 11 July 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

controlpoint ([todo internal name (i)]) <string>
The control point the timer applies to
timer_length ([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.