Func traincontrols: Difference between revisions
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.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{subpage|[[Trains]]}} | {{subpage|[[Trains]]}} | ||
{{CD|CFuncTrainControls|file1=trains.cpp}} | |||
{{this is a|brush entity|name=func_traincontrols}} | {{this is a|brush entity|name=func_traincontrols}} | ||
When {{ent|+use}}d by the {{ent|player}}, this entity gives control over the movement of a train using the player's movement keys. | |||
When {{ent|+use}}d by the | |||
== KeyValues == | == KeyValues == | ||
{{KV | {{KV Targetname}} | ||
{{KV | {{KV|Target|targetname|intn=target|Needs some {{ent|func_tracktrain}} as target{{confirm}}}} | ||
{{ | |||
== | == See Also == | ||
{{ | * {{ent|func_tracktrain}} |
Revision as of 13:14, 25 September 2024
![]() |
---|
CFuncTrainControls |
![]() |
func_traincontrols
is a brush entity available in all 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>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Target (target) <targetname>
- Needs some func_tracktrain as target[confirm]