summaryrefslogtreecommitdiff
path: root/docs/waypoints.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/waypoints.md')
-rw-r--r--docs/waypoints.md38
1 files changed, 14 insertions, 24 deletions
diff --git a/docs/waypoints.md b/docs/waypoints.md
index 22853d6..b3fa2f8 100644
--- a/docs/waypoints.md
+++ b/docs/waypoints.md
@@ -1,36 +1,27 @@
-# waypoints
-
-[<-Back-to:World](database-world.md)
+[Database Structure](Database-Structure) > [World-Database](World-Database) > [waypoints](waypoints)
-###### **Used by [SAI](https://trinitycore.atlassian.net/wiki/display/tc/smart_scripts)**
+# waypoints
-## **Version 3.3.5a**
+###### **Used by [SAI](smart_scripts)**
### Information
-Contains waypoint data, allowing Creatures to move to certain X, Y, and Z coordinates.
-
-| | |
-|------------|----------------------|
-| Comment | *Creature waypoints* |
-| Collate | *utf8\_general\_ci* |
-| Engine | MyISAM |
-| Row Format | FIXED |
+Contains waypoint data, allowing creatures to move to certain X, Y, and Z coordinates. See also [Waypoints-Information](Waypoints-Information) for general information about waypoints.
### Structure
-| Field | Type | Attributes | Key | Null | Default |
-|-------------------------------------------------------------------------------------------------------|--------------|------------|-----|------|---------|
-| [entry](https://trinitycore.atlassian.net/wiki/display/tc/waypoints#waypoints-entry) | MEDIUMINT(8) | UNSIGNED | PRI | NO | 0 |
-| [pointid](https://trinitycore.atlassian.net/wiki/display/tc/waypoints#waypoints-pointid) | MEDIUMINT(8) | UNSIGNED | PRI | NO | 0 |
-| [position\_x](https://trinitycore.atlassian.net/wiki/display/tc/waypoints#waypoints-position_x) | FLOAT | - | - | NO | 0 |
-| [position\_y](https://trinitycore.atlassian.net/wiki/display/tc/waypoints#waypoints-position_y) | FLOAT | - | - | NO | 0 |
-| [position\_z](https://trinitycore.atlassian.net/wiki/display/tc/waypoints#waypoints-position_z) | FLOAT | - | - | NO | 0 |
-| [point\_comment](https://trinitycore.atlassian.net/wiki/display/tc/waypoints#waypoints-point_comment) | TEXT | - | - | YES | - |
+| Field | Type | Attributes | Key | Null | Default |
+|----------------------------------|--------------|------------|-----|------|---------|
+| [entry](#entry) | mediumint(8) | unsigned | PRI | NO | 0 |
+| [pointid](#pointid) | mediumint(8) | unsigned | PRI | NO | 0 |
+| [position\_x](#position_x) | float | | | NO | 0 |
+| [position\_y](#position_y) | float | | | NO | 0 |
+| [position\_z](#position_z) | float | | | NO | 0 |
+| [point\_comment](#point_comment) | text | | | YES | NULL |
#### entry
-Entry of the creature. See [creature\_template.entry](https://trinitycore.atlassian.net/wiki/display/tc/creature_template#creature_template-entry).
+Path ID. Standard way of assigning an ID is [creature\_template.entry](creature_template#entry) * 100, but any random number can be used here.
#### pointid
@@ -54,11 +45,10 @@ Text comment.
### Example Rows
-| Entry | Pointid | Position\_x | Position\_y | Position\_z | Point\_comment |
+| entry | pointid | position\_x | position\_y | position\_z | point\_comment |
|-------|---------|-------------|-------------|-------------|--------------------------|
| 16208 | 1 | 6647.83 | -6344.92 | 9.13345 | Apothecary Enith point 1 |
| 16208 | 2 | 6657.92 | -6345.96 | 15.3468 | Apothecary Enith point 2 |
Creature with ID 16208 will now have 2 waypoints, first it will move to pointid 1, when it reaches the XYZ position, it will move to pointid 2. The comment helps clarify which creature the ID belongs to.
-