View Single Post
  #7  
Old 10-23-2009, 02:47 PM
nightsta69
Hill Giant
 
Join Date: May 2005
Posts: 134
Default

I redid it, cause after looking at it, it didn't look right to me. noticed a few errors.

Code:
if($signal == 5){
		quest::say("Thanks arias, i'm following you.");
		my $revoltldrID = 189490;
		my $getmobbynpctype = $entity_list->GetMobByNpcTypeID($revoltldrID);
		my $follow_target = $getmobbynpctype->GetID();
		my $x = $npc->GetX();
		my $y = $npc->GetY();
		my $z = $npc->GetZ();
		quest::say("my coords are $x,$y");
		my $ldrX = $follow_target->getX();
		my $ldrY = $follow_target->getY();
		my $partywalk = $qglobals{$name."partywalk"};
		quest::say("ldrs coords is $ldrX,$ldrY");
		quest::SetRunning(1);
			while($partywalk == 1) {
				if($x != $ldrX || $y != $ldrY+10) {
					$npc->moveto($ldrX,$ldrY+10,$z);
				}
			quest::SetRunning(0);
			}
	}
now i'm certain the only problem is having NPC B find NPC A's coords, cause NPC B will tell me his, but won't tell me NPC A's.
__________________
Server Op of Bonds of Strength(custom-Legit)
Reply With Quote