summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-12 18:18:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-12 18:18:19 +0300
commit4a03238b66fb5772335f75fd45685588fa8392e9 (patch)
treeec9cb5a76073d82fbfaa7424ab0f4d21ade8e5de
parenta02351cb09f6a7976ea93acaf6d0440cbf74dfea (diff)
downloaddocs-4a03238b66fb5772335f75fd45685588fa8392e9.tar.gz
docs-4a03238b66fb5772335f75fd45685588fa8392e9.tar.bz2
docs-4a03238b66fb5772335f75fd45685588fa8392e9.tar.xz
docs-4a03238b66fb5772335f75fd45685588fa8392e9.zip
Update docs from hercules.
-rw-r--r--server/scripts/constants.md11
-rw-r--r--server/scripts/script_commands.txt33
2 files changed, 44 insertions, 0 deletions
diff --git a/server/scripts/constants.md b/server/scripts/constants.md
index 89d4969..3e8834f 100644
--- a/server/scripts/constants.md
+++ b/server/scripts/constants.md
@@ -3773,6 +3773,17 @@
- `EQP_SHADOW_ACC_R`: 1048576
- `EQP_SHADOW_ACC_L`: 2097152
+### Navigation constants, use with *navigateto*
+
+- `NAV_NONE`: 0
+- `NAV_AIRSHIP_ONLY`: 1
+- `NAV_SCROLL_ONLY`: 10
+- `NAV_AIRSHIP_AND_SCROLL`: 11
+- `NAV_KAFRA_ONLY`: 100
+- `NAV_KAFRA_AND_AIRSHIP`: 101
+- `NAV_KAFRA_AND_SCROLL`: 110
+- `NAV_ALL`: 111
+
### Renewal
- `RENEWAL`: 1
diff --git a/server/scripts/script_commands.txt b/server/scripts/script_commands.txt
index 04d2c0c..eb7e0cd 100644
--- a/server/scripts/script_commands.txt
+++ b/server/scripts/script_commands.txt
@@ -7204,6 +7204,39 @@ Example:
movenpc("Bugga", 100, 20);
---------------------------------------
+
+*navigateto("<map>"{,<x>,<y>,<flag>,<hide_window>,<monster_id>,<char_id>});
+
+Generates a navigation for attached or specified character. Requires client
+2011-10-10aRagEXE or newer.
+
+The flag specifies how the client will calculate the specific route.
+
+Valid flags are:
+ NAV_NONE - No services
+ NAV_AIRSHIP_ONLY - Airship only
+ NAV_SCROLL_ONLY - Scroll only
+ NAV_AIRSHIP_AND_SCROLL - Airship and Scroll
+ NAV_KAFRA_ONLY - Kafra only
+ NAV_KAFRA_AND_AIRSHIP - Kafra and Airship
+ NAV_KAFRA_AND_SCROLL - Kafra and Scroll
+ NAV_ALL - All services
+
+When flag is not specified, the default value is NAV_KAFRA_AND_AIRSHIP.
+
+The hide_window specifies whether to display (0) or hide (1) the navigation window.
+By default the window is hidden.
+
+You can specify the monster_id in combination with a mapname to make the
+navigation system tell you, that you have reached the desired mob.
+
+Note:
+The client requires custom monster spawns be in the navigation file
+for using the embedded client Navigation feature to work properly. In this
+instance sending the player to the map where the monster spawns is a simpler
+solution rather than sending the map and the monster_id.
+
+---------------------------------------
//=====================================
6 - Other Commands
//=====================================