Func traincontrols: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Used KV/I/O BaseEntity templates. Template:in code -> Template:code class. Added back button.)  | 
				mNo edit summary  | 
				||
| Line 1: | Line 1: | ||
{{  | {{subpage|[[Trains]]}}  | ||
{{  | {{entity|func_traincontrols|type=e2}}  | ||
{{code class|CFuncTrainControls|trains.cpp}}  | {{code class|CFuncTrainControls|trains.cpp}}  | ||
Revision as of 06:58, 24 January 2023
Entity Description
When +used by the player, this entity gives control over the movement of a train using the player's movement keys.
KeyValues
Global:
- Global Entity Name (globalname) <string>
 - Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.