Func traincontrols: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | No edit summary | ||
| Line 6: | Line 6: | ||
| == KeyValues == | == KeyValues == | ||
| {{KV Targetname}} | {{KV Targetname}} | ||
| {{KV| | {{KV|Train Name|target_destination|intn=target|The target {{ent|func_tracktrain}} to control when the player uses these controls}} | ||
| == See Also == | == See Also == | ||
| * {{ent|func_tracktrain}} | * {{ent|func_tracktrain}} | ||
Revision as of 13:17, 25 September 2024
|  Class hierarchy | 
|---|
| CFuncTrainControls | 
|  trains.cpp | 
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.
 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. parentnameortarget).
 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
