Hud timer (Vampire: The Masquerade – Bloodlines): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (Substituted IO templates)
Line 18: Line 18:


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


== Outputs ==
== Outputs ==
{{IO|OnTimerComplete|Fired when countdown complete.}}
{{O|OnTimerComplete|Fired when countdown complete.}}

Revision as of 10:59, 21 April 2025

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.