Info teleporter countdown: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates)
mNo edit summary
Line 1: Line 1:
{{lang|Info teleporter countdown}}
{{lang|title=info_teleporter_countdown}}
{{hl2 point|info_teleporter_countdown}} 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'''.
{{entity|info_teleporter_countdown|type=e0|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'''.


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

Revision as of 07:19, 8 February 2023

English (en)Translate (Translate)

Template:Entity 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.
Enable
Restarts the countdown.
Confirm:Restart, or resume?
StopCountdown
Stops the countdown permanently.


Outputs