The `waypoint_data` tableBack-to:World
Version 3.3.5a
Information
This table contains all the path data for creatures that use waypoints.
Collate | 'utf8_general_ci' |
---|---|
Engine | MyISAM |
Structure
Field | Type | Attributes | Key | Null | Default |
---|
Extra
Comment |
---|
INT(10) |
UNSIGNED | PRI | NO | 0 | Creature GUID |
MEDIUMINT(8) |
UNSIGNED | PRI | NO | 0 | - |
FLOAT | - |
- | NO | 0 | - |
FLOAT | - |
- | NO | 0 | - |
FLOAT |
- |
- | NO | 0 | - |
FLOAT | - |
- | NO | 0 | - |
INT(10) |
UNSIGNED | - | NO | 0 | - |
TINYINT(1) |
- | - | NO | 0 | - |
INT(11) | - |
- | NO | 0 | - |
SMALLINT(3) |
- | - | NO | 100 | - |
INT(11) |
- | - | NO | 0 |
...
- |
id
Unique ID of the for each path.
The TDB standard way of assigning an ID is to multiply GUID of the creature by 10.
...
However, this is only a suggestion when creating your own waypoints. This ID can be anything you want as long as creature_addon.path_id is set to the ID you pick here for the creature you are creating a waypoint for.
point
Unique point ID of point of path
position
X, Y and Z coordinates of destinationfor each point in a path. Starts at 1 and increases with each path.
position_x
The X coordinate of the destination waypoint.
position_y
The Y coordinate of the destination waypoint.
position_z
The Z coordinate of the destination waypoint.
orientation
The orientation of the creature. (North = 0.0; South = pi π (3.14159))
delay
Time to wait (in ms) between each point.
move_type
Walk | 0 |
---|
...
Run | 1 |
---|
...
Fly | 2 |
---|
...
action
ID of the action in the to be performed. See waypoint_scripts table that is to be performed.id.
action_chance
Action chance in percents Percentage of action happening (0-100%).
wpguid
This field is used by the core and is NOT to be set by hand.
This field holds the GUID of the waypoint visual when you enable the visual mode for waypoints.
Example Rows
Id | Point | Position_x | Position_y | Position_z | Orientation | Delay | Move_type | Action | Action_chance | wpguid |
---|---|---|---|---|---|---|---|---|---|---|
20160 | 1 | -4998 | -1167 | 501657 | 0 | 10000 | 0 | 0 | 100 | 0 |
20160 | 2 | -4958.38 | -1199.34 | 501659 | 0 | 0 | 0 | 0 | 100 | 0 |