Info teleporter countdown: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(17 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{wrongtitle|title=info_teleporter_countdown}}
{{LanguageBar}}
==Entity Description==
{{CD|CInfoTeleporterCountdown|file1=info_teleporter_countdown.cpp}}
Countdown timer for the teleporter. The status of the teleporter will appear on [[vgui_screen]] entities whose panel is 'teleport_countdown_screen'.
{{this is a|logical entity|name=info_teleporter_countdown|game=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 {{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'''.
 


==Keyvalues==
==Keyvalues==
 
{{KV Targetname}}
*{{kv targetname}}


==Inputs==
==Inputs==
*{{i targetname}}
{{I|StartCountdown|param=float|Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown.}}
 
{{I|Disable|Pauses the countdown. This pause can be indicated on the HUD.}}
*'''StartCountdown <float>'''
{{I|Enable|Restarts the countdown. {{confirm|Restart, or ''resume''?}}}}
:Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown.
{{I|StopCountdown|Stops the countdown permanently.}}
 
*'''StopCountdown'''
:Stops the countdown permanently
 
*'''Disable'''
:Pauses the countdown due to a temporary malfunction. A warning sign will appear on the linked vgui screens.
 
*'''Enable'''
:Restarts the countdown since the malfunction is finished.
 
==Outputs==
*{{o targetname}}
 
[[Category:Entities]]

Latest revision as of 17:45, 5 June 2025

English (en)Translate (Translate)
C++ Class hierarchy
CInfoTeleporterCountdown
CPointEntity
CBaseEntity
C++ info_teleporter_countdown.cpp

info_teleporter_countdown is a logical entity 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.


Keyvalues

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

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.