Info teleporter countdown: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Unicodifying, replaced: {{language subpage → {{langsp)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{this is a|e0|name=info_teleporter_countdown|series=Half-Life 2}} This is intended to be a timer counting down how much time is left before Breen teleports away from Earth, in {{ent|d3_breen_01}}. It seems it was never fully finished. The status of the teleporter will appear on {{ent|vgui_screen}} entities whose '''Panel Name''' is '''teleport_countdown_screen'''.
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{this is a|point entity|name=info_teleporter_countdown|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch}} This is intended to be a timer counting down how much time is left before Breen teleports away from Earth, in {{ent|d3_breen_01}}. It seems it was never fully finished. The status of the teleporter will appear on {{ent|vgui_screen}} entities whose '''Panel Name''' is '''teleport_countdown_screen'''.


{{code class|CInfoTeleporterCountdown|info_teleporter_countdown.cpp}}
{{code class|CInfoTeleporterCountdown|info_teleporter_countdown.cpp}}

Revision as of 13:23, 17 May 2024

English (en)Translate (Translate)

info_teleporter_countdown is a point entity available in Half-Life 2 Half-Life 2, Half-Life 2: Episode One Half-Life 2: Episode One, Half-Life 2: Episode Two Half-Life 2: Episode Two, and Half-Life 2: Deathmatch Half-Life 2: Deathmatch. This is intended to be a timer counting down how much time is left before Breen teleports away from Earth, in d3_breen_01. It seems it was never fully finished. The status of the teleporter will appear on vgui_screen entities whose Panel Name is teleport_countdown_screen.

C++ In code, it is represented by theCInfoTeleporterCountdownclass, defined in theinfo_teleporter_countdown.cppfile.

Keyvalues

Inputs

StartCountdown <floatRedirectInput/float>
Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown.
Disable
Pauses the countdown. This pause can be indicated on the HUD.

{{IO|Enable|Restarts the countdown.

Confirm:Restart, or resume?
StopCountdown
Stops the countdown permanently.


Outputs