Path corner (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{tabs|path_corner|goldsrc = 1|source = 1|main = source}} {{This is a|name=path_corner|e0|engine=1}} Multiple path_corners form a path that can be followed by various moving...") |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{tabs|path_corner|goldsrc = 1|source = 1|main = source}} | {{tabs|path_corner|goldsrc = 1|source = 1|main = source}} | ||
{{ | {{this is a|point entity|name=path_corner|engine=GoldSrc}} Multiple path_corners form a path that can be followed by various moving entities. | ||
==Key Values== | ==Key Values== |
Revision as of 21:08, 17 May 2024
path_corner
is a point entity available in all GoldSrc games. Multiple path_corners form a path that can be followed by various moving entities.
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.
- 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
- Wait for retrigger : [1]
- Moving entity will wait and will only continue when triggered.
- Teleport : [2]
- Makes a func_train entity teleport to the current path_corner.
- Fire once : [4]
- Will only fire its Fire On Pass" target once.