func_traincontrols
Jump to navigation
Jump to search
Code classes:
CFuncTrainControls
CBaseEntity
(all ents)
func_traincontrols
is a brush entity present in all Source games. It's an optional brush entity that defines the area in which a player can control a func_tracktrain
via +use
, +forward
, and +back
. If this entity is not placed, the train will be controllable as long as the player is physically on it. User controlling functionality not present in .
Bug: Uses a dumb detection method. The controlling player's origin must be inside the entity's bounding box.
Keyvalues[edit | edit source]
- Train Name
(target)
<target_destination>
- The train this entity is linked to. Note: The entity also needs be parented to that train.