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

func_traincontrols

From Valve Developer Community
Jump to: navigation, search
Class hierarchy
CFuncTrainControls
CBaseEntity
trains.cpp

func_traincontrols is a brush entity available in all Source Source games. When +used by the player, this entity gives control over the movement of a train using the player's movement keys.

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

Train Name (target) <targetname>
The target func_tracktrain to control when the player uses these controls

See Also