This article's documentation is for anything that uses the Source engine. Click here for more information.

Info target vehicle transition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (.)
(-added class hierarchy, cleanup)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{lang|Info target vehicle transition}}
{{LanguageBar}}
[[File:info_target.png|left]]{{base point|info_target_vehicle_transition|since=Half-Life 2: Episode One}} This entity is intended to force vehicles to teleport to this spot when they are sent the <code>OutsideTransition</code> input (which is automatically sent by {{ent|trigger_transition}} if the vehicle is outside of it when a level change is meant to occur).
[[File:info_target.png|left]]
{{CD|CInfoTargetVehicleTransition|file1=1}}
{{this is a|point entity|name=info_target_vehicle_transition|since=Half-Life 2: Episode One}} This entity is intended to force vehicles to teleport to this spot when they are sent the <code>OutsideTransition</code> input (which is automatically sent by {{ent|trigger_transition}} if the vehicle is outside of it when a level change is meant to occur).


Since all vehicles (including ones from Half-Life 2, since Episode 1) can be sent the <code>OutsideTransition</code> input by the map designer, this entity ''can'' be used for other purposes as well.
Since all vehicles (including ones from Half-Life 2, since Episode 1) can be sent the <code>OutsideTransition</code> input by the map designer, this entity ''can'' be used for other purposes as well.
{{clr}}


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


==Inputs==
==Inputs==
{{I EnableDisable}}
{{I EnableDisable}}
{{I BaseEntity|base=1|prel4d=1}}
==Outputs==
{{O BaseEntity}}

Latest revision as of 15:20, 25 September 2024

English (en)Translate (Translate)
Info target.png
C++ Class hierarchy
CInfoTargetVehicleTransition
CPointEntity
CBaseEntity
C++ vehicle_jeep_episodic.cpp

info_target_vehicle_transition is a point entity available in all Source Source games since Half-Life 2: Episode One Half-Life 2: Episode One. This entity is intended to force vehicles to teleport to this spot when they are sent the OutsideTransition input (which is automatically sent by trigger_transition if the vehicle is outside of it when a level change is meant to occur).

Since all vehicles (including ones from Half-Life 2, since Episode 1) can be sent the OutsideTransition input by the map designer, this entity can be used for other purposes as well.

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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.