Experienced Elementalist
- Joined
- Apr 13, 2008
- Messages
- 211
- Reaction score
- 0
Realy simple, i made a showa transportrator from Popo, an npc on the left part of showa.
picture:
he will take you from showa to anywhere in victoria island, and to mushroom shrine.
ok now codes.
put this in your Teleporters.cpp or TeleportNPCs.cpp whatever you got:
and these to NPCsScripts.h, you whould know where to put them:
and now you are done!
you can use these to get to showa:
http://forum.ragezone.com/f427/release-spinel-warps-mushroom-shrine-showa-387336/
or
http://forum.ragezone.com/f427/release-perry-npc-get-you-into-showa-towen-387272/ (needs update lol)
or the updated taxi from MapleFXP repack...
CREDITS: ME FOR MAKING THIS NPC!
and to whoever made the first normal taxi, cuz i used it's script.
picture:
he will take you from showa to anywhere in victoria island, and to mushroom shrine.
ok now codes.
put this in your Teleporters.cpp or TeleportNPCs.cpp whatever you got:
Code:
//SHOWA2 POPO
//by npmaple
void NPCsScripts::npc_9120014(NPC* npc){
int state = npc->getState();
if(state == 0){
npc->addText("What’s up? Im Popo, the showa transportrator. think of me as a taxi. i can take you (almost) anywhere in victoria island.");
npc->addText("Remember that you can always come back from transportrators at lith harbor, henesys and perion.");
npc->sendNext();
}
if(state == 1){
npc->addText("Please choose where you would like to go:\r\n#L0#Henesys#l\r\n#L1#Ellinia#l\r\n#L2#Lith Harbor#l\r\n#L3#Perion#l\r\n#L4#Mushroom Shrine#l");
npc->sendSimple();
}
if(state == 2){
type = npc->getSelected();
npc->setVariable("type", type);
if(type == 0){ // Heneseys
npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bHeneseys#k?");
npc->sendYesNo();
}
else if(type == 1){ // Ellinia
npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bEllinia#k?");
npc->sendYesNo();
}
else if(type == 2){ // Lith Harbor
npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bLith Harbor#k?");
npc->sendYesNo();
}
else if(type == 3){ // Perion
npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bPerion#k?");
npc->sendYesNo();
}
else if(type == 4){ // Mushroom Shrine
npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bMushroom Shrine#k?");
npc->sendYesNo();
}
}
if(state == 3 && type == 0){
if(npc->getSelected() == YES){
npc->end();
npc->teleport(100000000);
}
else{
npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
npc->sendOK();
}
npc->end();
}
if(state == 3 && type == 1){
if(npc->getSelected() == YES){
npc->teleport(101000000);
}
else{
npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
npc->sendOK();
}
npc->end();
}
if(state == 3 && type == 2){
if(npc->getSelected() == YES){
npc->teleport(104000000);
}
else{
npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
npc->sendOK();
}
npc->end();
}
if(state == 3 && type == 3){
if(npc->getSelected() == YES){
npc->teleport(102000000);
}
else{
npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
npc->sendOK();
}
npc->end();
}
if(state == 3 && type == 4){
if(npc->getSelected() == YES){
npc->teleport(800000000);
}
else{
npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
npc->sendOK();
}
npc->end();
}
}
//by npmaple
and these to NPCsScripts.h, you whould know where to put them:
Code:
case 9120014: npc_9120014(npc); break; //Popo: Showa
Code:
static void npc_9120014(NPC* npc); //Popo: Showa
and now you are done!
you can use these to get to showa:
http://forum.ragezone.com/f427/release-spinel-warps-mushroom-shrine-showa-387336/
or
http://forum.ragezone.com/f427/release-perry-npc-get-you-into-showa-towen-387272/ (needs update lol)
or the updated taxi from MapleFXP repack...
CREDITS: ME FOR MAKING THIS NPC!
and to whoever made the first normal taxi, cuz i used it's script.
Last edited: