hud_timer

From Valve Developer Community
Revision as of 10:59, 21 April 2025 by Alexiscoutinho (talk | contribs) (Substituted IO templates)
Jump to navigation Jump to search

hud_timer is a point entity available in Vampire: The Masquerade – Bloodlines Vampire: The Masquerade – Bloodlines.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{Vampire The Masquerade - Bloodlines}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Vampire: The Masquerade – Bloodlines.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

This is an countdown timer that shows on HUD and fires script when complete.

Key Values

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 Hidden (StartHidden) <boolean>
Don't spawn the entity while the script command didn't sent.[sic]
Count Time (count_time) <integer>
Countdowns to script execution.
Count Type (count_type) <choices>
Sets the countdown method
Value Description
-1 (Default)[Clarify]
0 Type 0[Clarify]
1 Type 1[Clarify]

Inputs

count_time
Set count time value.
Kill
Removes this entity from the world.
FadeOutKill
Fades entity during given time and then removes this from world.
Hide
Hide timer indication.
Show
Display timer on screen.
PauseTimer
Pauses timer.
StartTimer
Start timer.
ResetTimer
Reset timer to initial state.
RestartTimer
Restart timer.
ScriptHide
Hide entity by specific python script.
ScriptUnhide
Spawn entity by specific python script if it was hided.

Outputs

OnTimerComplete
Fired when countdown complete.