Jump to content
  • 0

Adding A Dungeon Warp


petrock618

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  01/14/13
  • Last Seen:  

Hello, I have a warper and I'd like to add nameless island to it, this is what I have:

case 2:
mes "[Warp Agent]";
mes "Please select which dungeon you would like to be teleported to.";
next;
switch(select("Abyss Lake:Amatsu Dungeon:Anthell:Ayothaya Dungeon:Bibilan Dungeon:Coal Mine (Dead Pit):Culvert:Einbech Dungeon:Glast Heim:Gonryun Dungeon:Juperos:Lighthalzen Bio Lab:Magma Dungeon:Niflheim:Odin Temple:Orc Dungeon:Payon Dungeon:Pyramids:Sphinx:Sunken Ship:Thanatos Tower:Turtle Dungeon")) {
case 1:
warp "hu_fild05",189,207;
break;
case 2:
warp "ama_dun01",229,12;
break;
case 3:
warp "moc_fild20",164,145;
break;
case 4:
warp "ayo_fild02",280,149;
break;
case 5:
warp "izlu2dun",106,88;
break;
case 6:
warp "mjolnir_02",81,359;
break;
case 7:
warp "prt_sewb1",126,248;
break;
case 8:
warp "einbech",135,249;
break;
case 9:
warp "glast_01",368,303;
break;
case 10:
warp "gonryun",160,195;
break;
case 11:
warp "yuno_fild07",218,176;
break;
case 12:
warp "lighthalzen",158,285;
break;
case 13:
warp "yuno_fild03",39,140;
break;
case 14:
warp "niflheim",35,161;
break;
case 15:
warp "odin_tem01",98,144;
break;
case 16:
warp "gef_fild10",70,332;
break;
case 17:
warp "pay_arche",43,132;
break;
case 18:
warp "moc_ruins",62,162;
break;
case 19:
warp "moc_fild19",107,100;
break;
case 20:
warp "alb2trea",75,98;
break;
case 21:
warp "tha_scene01",131,223;
break;
case 22:
warp "tur_dun01",149,238;
break;
case 23:
warp "nameless_n",80,96;
break;
}
break;
}
end;
}

I tried reloading and restarting but the warp won't show up in my warper npc, anyone know whats wrong? Thanks

Also, does anyone know how I could add the last warp feature warp to my npc..? :P

Edited by Euphy
Codeboxed.
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/27/12
  • Last Seen:  

Edited. Might want to check some of your warp coordinates, I picked a random map then it warped somewhere in Rachel, dunno what option of yours did it.

http://www.mediafire.com/?j2n0yca1t4jux1h

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Easy way to add a "last warp" feature is something like I did in my warper (trunk/npc/custom/warper.txt): replace every 'warp' command with a custom function (I used Go), which warps the player and then saves their location into permanent variables.

function Go {
warp getarg(0),getarg(1,0),getarg(2,0);
getmapxy(lastwarp$,lastwarpx,lastwarpy,0);
close;
}

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...