Hud timer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{wip}} {{Synergy}} '''hud_timer''' is a point entity available in Synergy. It displays a timer on every player's HUD. ==Entity description== Similar to [[logic_time...")
 
m (Combined description)
Line 1: Line 1:
{{wip}}
{{Synergy}} '''hud_timer''' is a [[point entity]] available in [[Synergy]].
{{Synergy}} '''hud_timer''' is a [[point entity]] available in [[Synergy]].
It displays a timer on every player's [[HUD]].
It displays a timer on every player's [[HUD]]. Similar to [[logic_timer]] -- displays a [[HUD]] element to all players showing the value, often counting down to an event.
 
==Entity description==
Similar to [[logic_timer]] -- displays a [[HUD]] element to all players showing the value, often counting down to an event.
{{tip|This is the same [[HUD]] element used during the "Waiting for Players" event before level transitions.}}
{{tip|This is the same [[HUD]] element used during the "Waiting for Players" event before level transitions.}}



Revision as of 23:07, 3 November 2011

Synergy hud_timer is a point entity available in Synergy. It displays a timer on every player's HUD. Similar to logic_timer -- displays a HUD element to all players showing the value, often counting down to an event.

Tip.pngTip:This is the same HUD element used during the "Waiting for Players" event before level transitions.

Keyvalues

TimerType ([todo internal name (i)]) <choices>
Counter Type
0 : Count Up. [confirm]
1 : Count Down.
TimerText ([todo internal name (i)]) <string>
Text to display when this timer is visible.
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

Inputs

Start <int>
Start the timer with a specified duration of seconds.
Stop
Stop the timer instantly, without triggering the OnTimer output.
Change <int>
Update the timer time - value is added to current timer time; allows positive and negative values.


Outputs

OnTimer
Fired when the timer reaches zero.


See also