AzerothCore
Pages :

waypoint_data_addon

<-Back-to:World

The `waypoint_data_addon` table

Provides custom intermediate spline interpolation points for waypoint paths that have smoothTransition = 1 set in waypoint_data. These points shape the catmullrom spline curve a creature follows between its main waypoints.

Table Structure

Field Type Attributes Key Null Default
PathID INT UNSIGNED PRI NO
PointID INT UNSIGNED PRI NO
SplinePointIndex INT UNSIGNED PRI NO
PositionX FLOAT NO 0
PositionY FLOAT NO 0
PositionZ FLOAT NO 0

Description of the fields

PathID

The waypoint path ID. References waypoint_data.id.

PointID

The waypoint point number. References waypoint_data.point.

SplinePointIndex

The index of this intermediate spline point within the segment between the referenced waypoint and the next. Multiple intermediate points can be defined per waypoint segment by incrementing this index.

PositionX

The X coordinate of the intermediate spline point.

PositionY

The Y coordinate of the intermediate spline point.

PositionZ

The Z coordinate of the intermediate spline point.