path_track

From Valve Developer Community
Revision as of 12:56, 12 February 2024 by N0one (talk | contribs) (Created page with "{{tabs|path_track|goldsrc = 1|source = 1|main = source}} {{This is a|name=path_track|e0|engine=1}} Multiple path_tracks form a path that can be followed by a func_tracktrai...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

path_track is an e0 available in all Template:1 games.Template:1 topicon

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{1}} template.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

Multiple path_tracks form a path that can be followed by a func_tracktrain.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
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

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