making custom quest npc bind player to hardcoded y/x/z help!
Hi all
im having huge trouble with the binder on empire2 that binds players in rivervale. We all know that y/x can reverse on random occations, and this will make players bound on the loc -50 10 2 be randomy bound on 10 -50 2, and they spawn in the wall. I wanted to make it so the quest npc (welcomer) binds my players when they hail him to a hardcoded location that would be 0,0,0 (safeplace cordinates) cause even tho the y/x would reverse you would end up on the same spot.
Could anyone tell me how do do this:
The quest NPC currently looks like this:
if (($text=~/Hail/i) && ($uguildid == NULL) && ($ulevel <= 15))
{
if(($class eq Warrior) || ($class eq Bard) || ($class eq Ranger) || ($class eq Rogue))
{
quest::say("Greetings $name! Welcome to Rivervale, the home of the shorties. You will can find
all the shorties classes trainers, some merchants, a banker and some creatures for the practice.
Pay attention at what the creatures will give you. They might be used powerful and will permit
you to adventure in the Direlands with a minimum of stuffs. Have a good day $name !");
quest::selfcast(2049);
quest::summonitem(6933);
quest::setguild(4,0);
}
Im guessing i need some kind of code after quest::selfcast(2049); to make it always bind to 0,0,0 even tho the player who gets bind might be standing on -50 10 2.
help please! dont wanna spend all my days getting peoeple unstuck out of the god damn wall
|