Allows calling a func_tracktrain to a specific path_track. The func_train and path_corner entities are not supported and will cause the game to crash if used in combination with this anyway.


OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.

Name targetname : Set name of trigger_track_goal so other entities can trigger it to send a func_tracktrain to specified path. Every trigger use-type works uniformly. Can be kill-targeted.

Target target : Name of a func_tracktrain to send towards a path_track.

Path Name path_name : Name of a path_track entity which the targeted func_tracktrain can reach.

Sound to play if no path is available m_iszSoundNoPath : If there is no another path_track this train can be direct to, this is the sound to play when it happens.


  • 1 : Stopped Only : If set, trigger_track_goal will only allow the train to be called when it is currently not moving.

  • 2 : Don't move if no path available : Prevents the train from moving backward if it can't find another path for func_tracktrain.

Causing the train to move backwards on its path only works in looped tracks.