eKoh 3 Posted August 14, 2014 well, i want to make some quests and i want to add this function of "target" like the following picture: is this possible? if it does, how? Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted August 14, 2014 mes "go to <NAVI>[Hat Maker]<INFO>izlude,131,148,</INFO></NAVI> to make hats"; 1 eKoh reacted to this Quote Share this post Link to post Share on other sites
0 eKoh 3 Posted August 14, 2014 (edited) mes "go to <NAVI>[Hat Maker]<INFO>izlude,131,148,</INFO></NAVI> to make hats"; hello, thank you a lot for the reply, but sadly it is not working for me, i dont know why, i've researched on script_command.txt and i find this: Navigation----------For clients dated 2011-10-10aRagexe onwards, you can generate navigation linksusing HTML-like labels: <NAVI>Display Name<INFO>mapname,x,y,0,000,flag</INFO></NAVI>The "flag" parameter can be: 0: Do not open Navigation Window (default). 1: Open Navigation Window.The example below will make the [Tool Shop] text clickable and begin navigationto alberta (98,154) when clicked. mes "Have you checked out the <NAVI>[Tool Shop]<INFO>alberta,98,154,0,000,0</INFO></NAVI>?"; i've tried to use it like it says but, it just does not work., this is my code mes "Please talk to <NAVI>[ToolShop]<INFO>poring_gnd,98,154,0,000,0</INFO></NAVI>,she will teach you ^FF0000How to use items!^000000"; when i click on [Tool Shop] nothing happens: is this working for you? haha, i wish i could stay awake and solve it by myself but i #feellikeazombie =/ P.S. I am using a 2013-08-07 client Edited August 14, 2014 by eKoh Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted August 14, 2014 have you tried my example without editing it? xd Quote Share this post Link to post Share on other sites
0 eKoh 3 Posted August 14, 2014 have you tried my example without editing it? xd haha, it's just that i use to use the default settings and test if it works first. i have only modified the mapname, x, y (which are the important things) but it does not work Quote Share this post Link to post Share on other sites
0 kisuka 178 Posted August 14, 2014 Try the following: mes "Please talk to <NAVI>[Tool Shop]<INFO>poring_gnd,98,154,</INFO></NAVI>, she will teach you ^FF0000How to use items!^000000"; Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted August 15, 2014 If poring_gnd is not on navigation map lua files(sry, I forgot lua name and currently on mobile), then the navigation would not be shown on that map. (I remember someone asking same problem but with new-1_1 map, and problem was, it was not indexed in navigation lua file). 2 eKoh and kisuka reacted to this Quote Share this post Link to post Share on other sites
0 eKoh 3 Posted August 15, 2014 If poring_gnd is not on navigation map lua files(sry, I forgot lua name and currently on mobile), then the navigation would not be shown on that map. (I remember someone asking same problem but with new-1_1 map, and problem was, it was not indexed in navigation lua file). I've tried it on prontera and it worked. sorry for the super prontera edting lol i am going to see my lua files, if i get it working, i'll post the changes i had to do Quote Share this post Link to post Share on other sites
0 eKoh 3 Posted August 15, 2014 (edited) yay, it finally works! thankz @Dastgir code: - script Test -1,{ mes "Please talk to <NAVI>[Tool Shop]<INFO>poring_gnd,101,82,0,000,0</INFO></NAVI>, she will teach you ^FF0000How to use items!^000000"; close;}poring_gnd,83,88,5 duplicate(Test) Test#1 117 what i had to do is to go to lua files514>lua files>navigation>navi_mob_krpri.lub then i had to add my map, with the following instructions: Edited August 15, 2014 by eKoh Quote Share this post Link to post Share on other sites
0 eKoh 3 Posted August 15, 2014 (edited) when i reach the "goal" i get this message: any idea how to specify the target goals? atm, i've changed the data>msgstringtable.txt and changed the "Please specify..." to "You have reached your destination!", just in case somebody has the same problem Edited August 15, 2014 by eKoh Quote Share this post Link to post Share on other sites
0 eKoh 3 Posted August 19, 2014 is it possible to run the target function without clicking it? Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted August 19, 2014 I think you can do that by attaching it with the attachrid script command, but since navigation control is only available through mes to the best of my knowledge, you would still have to use mes on the character. Quote Share this post Link to post Share on other sites
well, i want to make some quests and i want to add this function of "target" like the following picture:
is this possible? if it does, how?
Share this post
Link to post
Share on other sites