Added to script command navigateto documentation

* Small follow up to 179f734.
* Also corrected an invalid constant.
This commit is contained in:
aleos89 2016-03-06 16:15:54 -05:00
parent 179f734249
commit 809f220b9f
2 changed files with 3 additions and 1 deletions

View File

@ -9024,6 +9024,8 @@ a specific route. The hide_window specifies whether to display (1) or not
display (0) the navigation window. Specify the monster_id to navigate to
known locations of the specified monster.
When flag is not specified, the default value is NAV_KAFRA_AND_AIRSHIP.
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

View File

@ -21055,7 +21055,7 @@ BUILDIN_FUNC(navigateto){
TBL_PC* sd;
const char *map;
uint16 x = 0, y = 0, monster_id = 0;
uint8 flag = NAV_KAFRA_AND_PLANE;
uint8 flag = NAV_KAFRA_AND_AIRSHIP;
bool hideWindow = true;
map = script_getstr(st,2);