script_waypoints table holds waypoint definitions for escort
This references the creature for which the waypoint script is meant to be executed and references the identifier in the creature_template table.
An index count for all waypoints attached to a script. Starts with
and increments by one.
The X position for the script’s waypoint.
The Y position for the script’s waypoint.
The Z position for the script’s waypoint.
If the creature should wait at the movement point, set this to the time in milliseconds. Otherwise set to zero for the creature to immediately proceed to the next movement point.
A common rules is to add comments to any waypoint where something special is happening. This means: do not comment every point, but comment those where an action is executed, e.g. a text emote, a quest completion is activated.