settimer question
			 
			 
			
		
		
		
		--------- 
sub EVENT_DEATH  
{ 
my $a = quest::ChooseRandom(227038,227038,227038,227038,22  7034,227034,227034,227097); 
my $x = $npc->GetX(); 
my $y = $npc->GetY(); 
my $z = $npc->GetZ(); 
my $h = $npc->GetHeading(); 
if ($a =~ /227097/) 
{ 
quest::say("Krakskull is coming"); 
quest::spawn2($a,0,0,$x,$y,$z,$h); 
} 
else 
{ 
quest::say("Ouch! He got me!"); 
quest::settimer(1,10); 
quest::spawn2($a,0,0,$x,$y,$z,$h); 
} 
} 
------------- 
 
I have all this working, void the timer - I set "say text" in there so I could be sure it was working. 
when normal spawn dies, there should be a 10 second delay (after text and before spawn), and it's not happening. Anyone have any ideas why? 
		
	
		
		
		
		
		
		
		
		
		
		
						  
				
				Last edited by Angelox; 07-17-2006 at 03:47 PM..
				Reason: typo
				
			
		
		
	
		
		
	
	
	 |