Info teleporter countdown: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{lang|title=info_teleporter_countdown}}
<!-- When this page is updated to {{langsp}} or {{language subpage}} 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'''.
{{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}}
Line 10: Line 9:
{{IO|StartCountdown|param=float|Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown.}}
{{IO|StartCountdown|param=float|Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown.}}
{{IO|Disable|Pauses the countdown. This pause can be indicated on the HUD.}}
{{IO|Disable|Pauses the countdown. This pause can be indicated on the HUD.}}
{{IO|Enable|Restarts the countdown. {{confirm|Restart, or ''resume''?}}}}
{{IO|Enable|Restarts the countdown. {{confirm|Restart, or ''resume''?}}
{{IO|StopCountdown|Stops the countdown permanently.}}
{{IO|StopCountdown|Stops the countdown permanently.}}
{{I BaseEntity|base=1|prel4d=1}}
{{I BaseEntity|base=1|prel4d=1}}

Revision as of 11:19, 4 January 2024

English (en)Translate (Translate)

info_teleporter_countdown is an e0 available in Half-Life 2 series Half-Life 2 series. 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