Func trackautochange: Difference between revisions
Jump to navigation
Jump to search
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
Note:Other
(-added class hierarchy, cleanup) |
No edit summary |
||
Line 1: | Line 1: | ||
{{tabs|func_trackautochange|goldsrc=1|source=1|main=source}} | {{tabs|func_trackautochange|goldsrc=1|source=1|main=source}} | ||
{{CD|CFuncTrackAuto|file1=trains.cpp}} | {{CD|CFuncTrackAuto|file1=trains.cpp}} | ||
{{this is a|brush entity|name=func_trackautochange}} | {{this is a|brush entity|name=func_trackautochange}} | ||
It works as a rotating/moving platform that will carry a {{ent|func_tracktrain}} to a new track. It must be larger in X-Y planar area than the train, since it must contain the train within these dimensions in order to operate when the train is near it. | It works as a rotating/moving platform that will carry a {{ent|func_tracktrain}} to a new track. It must be larger in X-Y planar area than the train, since it must contain the train within these dimensions in order to operate when the train is near it. | ||
== Keyvalues == | == Keyvalues == | ||
Line 13: | Line 8: | ||
{{KV Targetname}} | {{KV Targetname}} | ||
== Inputs == | == Inputs == | ||
{{IO|Trigger|Trigger the track change.}} | {{IO|Trigger|Trigger the track change.}} | ||
{{OtherKIO|func_trackchange}} | |||
== See also == | == See also == | ||
* {{ent|func_trackchange}} | * {{ent|func_trackchange}} |
Revision as of 01:31, 3 September 2024
![]() |
---|
CFuncTrackAuto |
![]() |
func_trackautochange
is a brush entity available in all Source games.
It works as a rotating/moving platform that will carry a func_tracktrain to a new track. It must be larger in X-Y planar area than the train, since it must contain the train within these dimensions in order to operate when the train is near it.
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
Inputs
- Trigger
- Trigger the track change.

Keyvalues / Inputs / Outputs
are same as func_trackchange.