View Single Post
  #6  
Old 10-23-2009, 01:44 PM
nightsta69
Hill Giant
 
Join Date: May 2005
Posts: 134
Default

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();
		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) {
					quest::moveto($x,$ldrY+10,$z);
				}
			quest::SetRunning(0);
			}
	}
heres what i've come up with, tho I don't think it is getting $ldrX and $ldrY. the global is being defined by another NPC, and it is being defined. seems only hang up is getting the other NPC's coords. any help would be greatly appreciated.
__________________
Server Op of Bonds of Strength(custom-Legit)
Reply With Quote