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
m (→‎Inputs: Substituted IO templates)
 
(20 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{wrongtitle|title=func_trackautochange}}
{{tabs|func_trackautochange|goldsrc=1|source=1|main=source}}
{{base_brush}}
{{CD|CFuncTrackAuto|base=CFuncTrackChange|file1=trains.cpp}}
{{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.


==Entity Description==
== Inputs ==
A [[brush entity]] that works as a rotating/moving platform that will carry a train 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.
{{I|Trigger|Trigger the track change.}}


See also [[func_trackchange]].
{{OtherKIO|func_trackchange}}


{{brushmodel}}
== See also ==
 
* {{ent|func_trackchange}}
==Availability==
{{in game|brush}} {{game-base}}
{{in code|class=class_c_func_track_auto.html CFuncTrackAuto|file=trains_8cpp-source.html trains.cpp}}
 
==Keyvalues==
*{{kv trackchange}}
*'''_minlight'''
:<string> The minimum level of ambient light that hits this brush.
 
==Flags==
*{{fl trackchange}}
 
==Inputs==
*{{i trackchange}}
*'''Trigger'''
:Trigger the track change.
 
==Outputs==
*{{o 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