8joax8 Posted August 4, 2013 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
Emistry Posted August 4, 2013 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
8joax8 Posted August 7, 2013 Author 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
Euphy Posted August 7, 2013 Posted August 7, 2013 Read: Menu All script commands are also documented in trunk/doc/script_commands.txt. Quote
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 8joax83 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.