Back to 'warden_checks' Return to world Go to 'waypoint_scripts'
This table contains all the path data for creatures that use waypoints.
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
id | int | unsigned | PRI | NO | 0 | Creature GUID | |
point | int | unsigned | PRI | NO | 0 | ||
position_x | float | NO | 0 | ||||
position_y | float | NO | 0 | ||||
position_z | float | NO | 0 | ||||
orientation | float | YES | NULL | ||||
delay | int | unsigned | NO | 0 | |||
move_type | int | signed | NO | 0 | |||
action | int | signed | NO | 0 | |||
action_chance | smallint | signed | NO | 100 | |||
wpguid | int | unsigned | NO | 0 |
Unique ID for each path.
The TDB standard way of assigning an ID is to multiply creature guid by 10.
So for a creature with a GUID of 1234 the path ID would be 12340. Any waypoints submitted to TDB should follow this standard.
However, this is only a suggestion when creating your own waypoints. This ID can be anything you want as long as path_id is set to the id you pick here for the creature you are creating a waypoint for.
Unique point ID for each point in a path. Starts at 1 and increases with each path node.
The X coordinate of the destination waypoint.
The Y coordinate of the destination waypoint.
The Z coordinate of the destination waypoint.
The orientation of the creature. (North = 0.0; South = π (3.14159))
Time to wait (in ms) before moving to the next point.
ID | Name |
---|---|
0 | WAYPOINT_MOVE_TYPE_WALK |
1 | WAYPOINT_MOVE_TYPE_RUN |
2 | WAYPOINT_MOVE_TYPE_LAND |
3 | WAYPOINT_MOVE_TYPE_TAKEOFF |
Script ID of the action to be performed.
Percentage of action happening (0 – 100%).
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.
Back to 'warden_checks' Return to world Go to 'waypoint_scripts'