View Single Post
  #5  
Old 09-22-2009, 07:36 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

Code:
if($timer eq "DT") {	
   			quest::shout("Testing");
		  my $list_check = 0;
		  for ($list_check = 0; $list_check < 1500; $list_check++) {
          $client_search = $entity_list->GetClientByID($list_check);     
			if ($client_search) {    
			my $ClID = $client_search->GetID();
			$npc->CastSpell(982,$ClID);
			my $x;
			my $y;
			my $z;
			my $h;
			$spawner = $ClID->CastToMob();
			$x = $spawner->GetX();
			$y = $spawner->GetY();
			$z = $spawner->GetZ();
			$h = $spawner->GetHeading();			
			quest::spawn2(99999,0,0,$x,$y,$z,$h);
			$counter = 0;
			}
		  }
	}
here's what I've been testing with & doesn't work so the CastTo isn't taking I don't think.
__________________
Retired EMarr
Project1999 Developer
Reply With Quote