info_teleporter_countdown

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Class hierarchy
CInfoTeleporterCountdown
CPointEntity
CBaseEntity
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>
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 <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.