summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2020-07-29 15:10:37 +0200
committerGitHub <noreply@github.com>2020-07-29 15:10:37 +0200
commit84a2ca0db6dd2777a283ca769d52a39d723ecebf (patch)
tree6a58fc267644d335f022492fedea27b5eb91daf9
parenta0913bb42de5f22eac4ca43ff2ac2a139cec9ee9 (diff)
downloadwiki-84a2ca0db6dd2777a283ca769d52a39d723ecebf.tar.gz
wiki-84a2ca0db6dd2777a283ca769d52a39d723ecebf.tar.bz2
wiki-84a2ca0db6dd2777a283ca769d52a39d723ecebf.zip
remove weird space (#270)
-rw-r--r--docs/Waypoints-Information.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Waypoints-Information.md b/docs/Waypoints-Information.md
index 9098512..4eb457f 100644
--- a/docs/Waypoints-Information.md
+++ b/docs/Waypoints-Information.md
@@ -90,7 +90,7 @@ Example creature GUID: 1234567, example path id: 123456700
If you need the waypoints for SmartAI you have to copy the waypoints from table [waypoint_data](waypoint_data) into table [waypoints](waypoints) and then delete the original waypoints (unload the path for the creature via ```.wp unload``` if it was loaded before). Here an example for path 123456700:
```sql
INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`)
- SELECT `id`,`point`,`position_x`,`position_y`,`position_z` FROM `waypoint_data` WHERE `id` = 123456700;
+SELECT `id`,`point`,`position_x`,`position_y`,`position_z` FROM `waypoint_data` WHERE `id` = 123456700;
DELETE FROM `waypoint_data` WHERE `id` = 123456700;
```
@@ -99,7 +99,7 @@ DELETE FROM `waypoint_data` WHERE `id` = 123456700;
The same as above, but now for [script_waypoint](script_waypoint) instead of [waypoints](waypoints). The entry of [script_waypoint](script_waypoint) has to be the [creature_template.entry](creature_template#entry), here for example 1234567:
```sql
INSERT INTO `script_waypoint` (`entry`,`pointid`,`location_x`,`location_y`,`location_z`)
- SELECT 1234567 AS `entry`,`point`,`position_x`,`position_y`,`position_z` FROM `waypoint_data` WHERE `id` = 123456700;
+SELECT 1234567 AS `entry`,`point`,`position_x`,`position_y`,`position_z` FROM `waypoint_data` WHERE `id` = 123456700;
DELETE FROM `waypoint_data` WHERE `id` = 123456700;
```