Func trackautochange: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (changed header)
m (Add internal name of Minimum Light Level)
Line 4: Line 4:


== Keyvalues ==
== Keyvalues ==
{{KV|Minimum Light Level|string|The minimum level of ambient light that hits this brush.}}
{{KV|Minimum Light Level|intn=_minlight|string|The minimum level of ambient light that hits this brush.}}
{{KV Trackchange}}
{{KV Trackchange}}



Revision as of 11:18, 17 March 2021

Template:Base brush It 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.

Template:In code

Keyvalues

Minimum Light Level (_minlight) <string>
The minimum level of ambient light that hits this brush.

Template:KV Trackchange

Flags

Auto Activate train : [1]
Relink track : [2]
Start at Bottom : [8]
Platform starts at the bottom track instead of the top one.
Rotate Only : [16]
X Axis : [64]
Train rotates around the X-axis instead of the Z-axis. Can be combined with Y Axis.
Y Axis : [128]
Train rotates around the Y-axis instead of the Z-axis. Can be combined with X Axis.

Inputs

Trigger
Trigger the track change.

Template:I Trackchange

Outputs

Template:O Trackchange

See also