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

path_corner

From Valve Developer Community
Jump to: navigation, search

path_corner is a point entity available in all GoldSrc GoldSrc games. Multiple path_corners form a path that can be followed by various moving entities.

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.
Wait here (secs) (wait) <integer>
Wait for this number of seconds before moving to next corner.
New Train Speed (speed) <integer>
Speed of the train once it passes this path_corner.
New Train rot. Speed (yaw_speed) <integer>

Flags

  •  [1] : Wait for retrigger
       Moving entity will wait and will only continue when triggered.
  •  [2] : Teleport
       Makes a func_train entity teleport to the current path_corner.
  •  [4] : Fire once
       Will only fire its Fire On Pass" target once.