summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIbrahem Hossam <ibrahem.h.basyone@gmail.com>2016-09-12 00:34:15 +0200
committerGitHub <noreply@github.com>2016-09-12 00:34:15 +0200
commitb407b408f2397eb6661c4ea152f6652142670455 (patch)
tree8b5f1b8c4b2ac743a2fd56c407051585a257900e /doc
parent5b67dd0f17949beb1a54ee0ac13bd9b07c1bdd40 (diff)
parentedd59a66d8bfc83e601343c6d841cfaf9e135319 (diff)
downloadhercules-b407b408f2397eb6661c4ea152f6652142670455.tar.gz
hercules-b407b408f2397eb6661c4ea152f6652142670455.tar.bz2
hercules-b407b408f2397eb6661c4ea152f6652142670455.tar.xz
hercules-b407b408f2397eb6661c4ea152f6652142670455.zip
Merge pull request #1422 from 4144/packetsid
Update some packet ids for newer clients and add navigation script command.
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 04d2c0c16..eb7e0cd9d 100644
--- a/doc/script_commands.txt
+++ b/doc/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
//=====================================