Jump to content
  • 0

Editing a Warper


kommie

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  04/15/12
  • Last Seen:  

Im currently trying to Update the warper for my friend and I wanted to add a menu to the dungeons for each floor.

Im pretty new to scripting and I was not sure where to post this. :x Forgive me if its in the wrong area.

I just need to know the script part of it I could do the rest.

What I got so far is this:

case 2:
 mes "[Warp Agent]";
 mes "Please select which dungeon you would like to be teleported to.";
 next;
 switch(select("Abyss Lake")) {
 case 1:
  warp "abyss_01",263,271;
  break;

Im not sure what to do next

Ex: Dungeon>Hidden Dungeon> Level 1, Level 2, Level 3

Something like this:

warper.png

Edited by kommie
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  23
  • Reputation:   3
  • Joined:  12/10/11
  • Last Seen:  

You should insert another switch(select) after select which dungeon for select the dungeon's level

case 2:
 mes "[Warp Agent]";
 mes "Please select which dungeon you would like to be teleported to.";
 next;
 switch(select("Abyss Lake")) {
 case 1:
  mes "[Warp Agent]";
  mes "Please select Dungeon's Level Which you wanna go";
next;
switch(select("Level 1:Level2:Level3")) {
case 1:
warp "abyss_01",263,271;
end;
case 2:
warp "abyss_02",263,271;
end;
case 3:
warp "abyss_03",263,271;
end;
}
  break;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  277
  • Reputation:   76
  • Joined:  11/23/11
  • Last Seen:  

Like was mentioned by Magic-Maker you need to add a switch.

I took the warper from rathena npc folder awhile ago and tried to do this...

warpera.txt

Edited by Matrixfox
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  04/15/12
  • Last Seen:  

Oh ok Thank you!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...