8joax8 Posted August 4, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 08/01/13 Last Seen: August 24, 2013 Share Posted August 4, 2013 (edited) Good day.. Im using Euphys warper and I want to add warping on a map in the main menu. Can anyone help me on this.. Edited August 4, 2013 by 8joax8 Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 4, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 4, 2013 npc/custom/warper.txt#L39 // ------------------- Functions ------------------- // * Go("<map>",<x>,<y>); // ~ Warps directly to a map. // // * Disp("<Menu Option>",<first option>,<last option>); // * Pick("<map_prefix>"{,<index offset>}); // ~ Dynamic menu and map selection (auto-numbered). // // * Disp("<Option 1>:<Option 2>:<etc.>"); // * Pick("","<map1>","<map2>","<etc.>"); // ~ Manual menu and map selection (listed). // // * Restrict("<RE | Pre-RE>"{,<menu option numbers>}); // ~ Only allows map for Renewal or Pre-Renewal modes. // If menu option numbers are given, only those maps // will be restricted (i.e. not for "Go"). // Quote Link to comment Share on other sites More sharing options...
8joax8 Posted August 7, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 08/01/13 Last Seen: August 24, 2013 Author Share Posted August 7, 2013 (edited) npc/custom/warper.txt#L39 // ------------------- Functions ------------------- // * Go("<map>",<x>,<y>); // ~ Warps directly to a map. // // * Disp("<Menu Option>",<first option>,<last option>); // * Pick("<map_prefix>"{,<index offset>}); // ~ Dynamic menu and map selection (auto-numbered). // // * Disp("<Option 1>:<Option 2>:<etc.>"); // * Pick("","<map1>","<map2>","<etc.>"); // ~ Manual menu and map selection (listed). // // * Restrict("<RE | Pre-RE>"{,<menu option numbers>}); // ~ Only allows map for Renewal or Pre-Renewal modes. // If menu option numbers are given, only those maps // will be restricted (i.e. not for "Go"). // I do get the functions on this script but what i don't get is how will i add it on the main menu.. // -------------------------------------------------- // Main Menu: // -------------------------------------------------- menu "Last Warp ^777777["+lastwarp$+"]^000000",-, " ~ Towns",Towns, " ~ Fields",Fields, " ~ Dungeons",Dungeons, " ~ Guild Castles",Castles, " ~ Guild Dungeons",Guild_Dungeons, " ~ Instances",Instances, " ~ Special Areas",Special; if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet."; else warp lastwarp$,lastwarpx,lastwarpy; end; Edited August 7, 2013 by 8joax8 Quote Link to comment Share on other sites More sharing options...
Euphy Posted August 7, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted August 7, 2013 Read: Menu All script commands are also documented in trunk/doc/script_commands.txt. Quote Link to comment Share on other sites More sharing options...
Question
8joax8
Good day..
Im using Euphys warper and I want to add warping on a map in the main menu. Can anyone help me on this..
Edited by 8joax8Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.