AzerothCore
Pages :

script_waypoint

<-Back-to:World

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

entry

The creature_template.entry of the creature this path belongs to. Together with pointid it forms the primary key.

pointid

The sequential number of this point within the path, starting at 1. Together with entry it forms the primary key.

location_x

The X coordinate of the waypoint.

location_y

The Y coordinate of the waypoint.

location_z

The Z coordinate of the waypoint.

waittime

How long the creature waits at this waypoint, in milliseconds, before moving to the next point.

point_comment

An optional free-text comment describing the waypoint.