hud_timer

From Valve Developer Community
Jump to: navigation, search

hud_timer is a point entity available in Vampire: The Masquerade - Bloodlines Vampire: The Masquerade - Bloodlines. This is an countdown timer that shows on HUD and fires script when complete.

Key Values

Name (targetname) <string>
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) <choices>
Don't spawn the entity while the script command didn't sent.
Value Description
0 Yes
1 No
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.