func_trackchange (func_trackautochange)

XashXT

func_trackchange (func_trackautochange)

Spawnflag

SF_TRACK_ONOFF_MODE 32 (similarly to the flag in func_door, enables explicit activation using the - and + prefixes)

Options

radius Custom radius for detecting the train that needs to have its track changed.
message Activates the target when the object has reached its low point.
netname Activates the target when the object has reached its high point.
width >Makes the platform slide not only up and down but also sideways. Used together with height, it also makes it slide diagonally.
angles Used together with the width option to set the motion direction for the entity.

Usage Details

  • Leave the trainname field empty if you want the entity to look for the eligible train within the radius of the largest dimension of its physical size, or within the custom radius if its own size is too large (for example, in a long func_trackchange).