The `script_waypoint` table
This table contains waypoint paths used by creatures driven by scripted AI (CreatureAI). It is the scripted-AI counterpart to waypoint_data (used by creatures via their creature_addon) and to waypoints (used by SmartAI). See also Waypoints-Information for general information about waypoints.
Table Structure
| Field | Type | Attributes | Key | Null | Default |
|---|---|---|---|---|---|
| entry | INT | UNSIGNED | PRI | NO | 0 |
| pointid | INT | UNSIGNED | PRI | NO | 0 |
| location_x | FLOAT | NO | 0 | ||
| location_y | FLOAT | NO | 0 | ||
| location_z | FLOAT | NO | 0 | ||
| waittime | INT | UNSIGNED | NO | 0 | |
| point_comment | TEXT | YES | NULL |
Description of the fields
The creature_template.entry of the creature this path belongs to. Together with pointid it forms the primary key.
The sequential number of this point within the path, starting at 1. Together with entry it forms the primary key.
The X coordinate of the waypoint.
The Y coordinate of the waypoint.
The Z coordinate of the waypoint.
How long the creature waits at this waypoint, in milliseconds, before moving to the next point.
An optional free-text comment describing the waypoint.