This article's documentation is for the "GoldSrc" engine. Click here for more information.

path_track

From Valve Developer Community
Jump to: navigation, search

path_track is a point entity available in all GoldSrc GoldSrc games. Multiple path_tracks form a path that can be followed by a func_tracktrain.

Key Values


Targetname:
Name (targetname) <targetname>
The targetname that other entities refer to this entity by.

Angles:
Pitch Yaw Roll (Y Z X) (angles) <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Next stop target (target) <targetname>
Name of the next path_corner in the path.
Fire On Pass (message) <targetname>
Trigger an event when this path_corner is passed by the entity using the path.
Branch Path (altpath) <targetname>
The name of a secondary path_track.
Fire on dead end (netnamed) <targetname>
If this path_track is a dead-end, activate this event on reaching.
New Train Speed (speed) <integer>
As the train passes this point, this speed will be assigned to it.

Flags

  •  [1] : Disabled
  •  [2] : Fire once
  •  [4] : Branch Reverse
  •  [8] : Disable train