-
Apprentice
v83 NPC warp point
Hi, does anyone knows how to make the npc warp player to a specific position?
Because I'm making a simple wedding system, and I wish the couple could be warp into Wedding Altar bottom floor, I use cm.warp(680000210);
Please provide me some guide thank you all :)
-
-
Enthusiast
-
Valued Member
Re: v83 NPC warp point
Look at the warp method and what other parameters can be set, you'll see how to use another spawn point.
-
Re: v83 NPC warp point
The bottom spawnpoint should be either 1 or 2 for the wedding altar map. Just add in a portal parameter, you can always trial and error it or look into the Map XML itself to find the portals and locations.
Code:
cm.warp(680000210, 1);
-
Apprentice