Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to make NPCs teleport you?

Newbie Spellweaver
Joined
Sep 13, 2007
Messages
23
Reaction score
0
I want to make my NPC teleport me... I already have the Dialog, but I don't know how to make it teleport me to some coords and map I want.

here's my NPC dialog:

Code:
         if (CurrentNPC == 727)
                            {
                                SendPacket(General.MyPackets.NPCSay("Would you like to go to Pk Arena ? "));
                                SendPacket(General.MyPackets.NPCLink("Oh Yeah I wanna PWN noobs!", 1));
                                SendPacket(General.MyPackets.NPCLink("No I dont wanna get pwned!", 2));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
 
Newbie Spellweaver
Joined
Aug 11, 2008
Messages
14
Reaction score
0
Code:
if (CurrentNPC == 727)
{
              if (Control == 1)
              {
                            MyChar.Teleport(MAP,X,Y)
              }
}
 
Back
Top