Skip to content

waypoint_path_node

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
PathIdintunsignedPRINO0
NodeIdintunsignedPRINO0
PositionXfloatNO0
PositionYfloatNO0
PositionZfloatNO0
OrientationfloatYESNULL
DelayintunsignedNO0

 

Description of fields ​

PathId ​

References unique path id from waypoint_path.PathId
 

NodeId ​

Unique node id for each node in a path. Starts at 0 and increases with each node.
 

PositionX ​

The X coordinate of the destination node.
 

PositionY ​

The Y coordinate of the destination node.
 

PositionZ ​

The Z coordinate of the destination node.
 

Orientation ​

The orientation when node is reached.
 

Delay ​

Time to wait (in ms) before running to next node.
 

Additional Notes ​

In looping Catmull-Rom splines, the last three points are identical to the first three. TrinityCore calculates looped paths internally, so those three duplicated points are unnecessary and should be discarded. If they are not removed, then when the unit reaches the last point, it will backtrack to the first.