Info teleporter countdown: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-added class hierarchy, cleanup)
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|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'''.
{{LanguageBar}}
{{CD|CInfoTeleporterCountdown|file1=info_teleporter_countdown.cpp}}
{{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}}


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


==Inputs==
==Inputs==
{{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}}
==Outputs==
{{O BaseEntity}}

Revision as of 04:26, 14 August 2024

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

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.


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.