This article's documentation is for anything that uses the Source engine. Click here for more information.

Func trackautochange: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
m (→‎Inputs: Substituted IO templates)
 
(3 intermediate revisions by one other user not shown)
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|base=CFuncTrackChange|file1=trains.cpp}}
{{toc-right}}
{{this is a|brush entity|name=func_trackautochange}}
{{this is a|brush entity|name=func_trackautochange}}
== Entity Description ==
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.


Unlike {{ent|func_trackchange}}, this entity does have a <code>Trigger</code> input.
== Inputs ==
 
{{I|Trigger|Trigger the track change.}}
== Keyvalues ==
{{Brush rendering note}}
 
{{KV Targetname}}
{{KV Trackchange}}


== Flags ==
{{OtherKIO|func_trackchange}}
{{Fl Trackchange}}
 
== Inputs ==
{{IO|Trigger|Trigger the track change.}}


== See also ==
== See also ==
* {{ent|func_trackchange}}
* {{ent|func_trackchange}}

Latest revision as of 10:57, 21 April 2025

C++ Class hierarchy
CFuncTrackAuto
CFuncTrackChange
CFuncPlatRot
CFuncPlat
CBasePlatTrain
CBaseToggle
CBaseEntity
C++ trains.cpp

func_trackautochange is a brush entity available in all Source 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.

Inputs

Trigger
Trigger the track change.
Note.pngNote:Other Keyvalues / Inputs / Outputs are same as func_trackchange.

See also