Info teleporter countdown: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(removed {{DISPLAYTITLE}}, covered by the hl2 point template)
(updates)
Line 1: Line 1:
{{hl2 point|info_teleporter_countdown}}
{{lang|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 description==
{{code class|CInfoTeleporterCountdown|info_teleporter_countdown.cpp}}
Countdown timer for the teleporter. The status of the teleporter will appear on [[VGUI Screen|vgui_screen]] entities whose panel is 'teleport_countdown_screen'.


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV BaseEntity|base=1}}


==Inputs==
==Inputs==
{{I Targetname}}
{{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|StartCountdown|Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown.
{{IO|Enable|Restarts the countdown. {{confirm|Restart, or ''resume''?}}}}
|param=float}}
 
{{IO|StopCountdown|Stops the countdown permanently.}}
{{IO|StopCountdown|Stops the countdown permanently.}}
 
{{I BaseEntity|base=1|prel4d=1}}
{{IO|Disable|Pauses the countdown due to a temporary malfunction. A warning sign will appear on the linked vgui screens.}}
 
{{IO|Enable|Restarts the countdown since the malfunction is finished.}}


==Outputs==
==Outputs==
{{O Targetname}}
{{O BaseEntity}}
 
[[Category:Entities]]

Revision as of 01:57, 11 September 2018

English (en)Translate (Translate)

Template:Hl2 point 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