blob: 1944bf9184069c122ef5988fa0750a2f0310d8e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
[Database Structure](Database-Structure) > [World-Database](World-Database) > [script_waypoint](script_waypoint)
# script\_waypoint
###### **Used by [CreatureAI](https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/server/game/AI/ScriptedAI/ScriptedCreature.h#L159)**
### Information
Used for CreatureAI waypoint movement. See also [Waypoints-Information](Waypoints-Information) for general information about waypoints.
### Structure
| Field | Type | Attributes | Key | Null | Default |
|----------------------------------|--------------|------------|-----|------|---------|
| [entry](creature_template#entry) | MEDIUMINT | UNSIGNED | PRI | NO | 0 |
| [pointid](#pointid) | MEDIUMINT | UNSIGNED | PRI | NO | 0 |
| [location_x](#location_x) | FLOAT | | | NO | 0 |
| [location_y](#location_y) | FLOAT | | | NO | 0 |
| [location_z](#location_z) | FLOAT | | | NO | 0 |
| [waittime](#waittime) | INT | UNSIGNED | | NO | 0 |
| [point_comment](#point_comment) | text | | | YES | NULL |
### entry
Entry of the creature, see [creature\_template.entry](creature_template#entry).
### pointid
Unique ID for each waypoint. Starts at 1 and increases with each waypoint.
### location\_x
The X coordinate of the destination waypoint.
### location\_y
The Y coordinate of the destination waypoint.
### location\_z
The Z coordinate of the destination waypoint.
### waittime
Wait time in milliseconds.
### point\_comment
Text comment.
|