View Single Post
  #1  
Old 08-12-2010, 02:43 PM
Bellos
Hill Giant
 
Join Date: Jul 2007
Posts: 111
Default Havin a problem with unique spawn.

The NPC isnt repopping after depop. Is there a time you have to wait before the fact that it is depped gets to the server before popping it again?

Code:
#The Hunt For Gollum  999203
sub EVENT_SPAWN {
quest::shout("We only wish to catch a fish so juicey SWEEEEEEEEEEEEEEET!!");
}




sub EVENT_SAY {
		
	if(quest::istaskactive(504)) {
	
		if(quest::istaskactivityactive(504,1)) {
		
			if($text=~/Hail/i) {
				quest::shout("Ahhh the orcses they are after meeez");
				#despawn gollum and respawn him at the next location
				quest::depop(999203);
				#spawn orc lieutants
				quest::spawn(999204,0,0,-866.3,357.1,90.3);
				quest::unique_spawn(999203,0,0,-1023.7,-344.3,7.5,12.6);

			}	
		}
		
		if(quest::istaskactivityactive(504,3)) {
		
			if($text=~/Hail/i) {
				quest::shout("Ahhh the orcses they are after meeez");
				quest::depop(999203); 
				quest::unique_spawn(999203,0,0,-562.3,-741.3,19.5,12.6);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
			}	
		}
		
		if(quest::istaskactivityactive(504,5)) {
		
			if($text=~/Hail/i) {
				quest::shout("Ahhh the orcses they are after meeez");
				quest::depop(999203); 
				quest::unique_spawn(999203,0,0,-72.3,-432.7,26.8,12.6);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
			}	
		}

		if(quest::istaskactivityactive(504,7)) {
		
			if($text=~/Hail/i) {
				quest::shout("Ahhh the orcses they are after meeez");
				quest::depop(999203); 
				quest::unique_spawn(999203,0,0,526.9,40.8,3.1,12.6);
				quest::spawn(999204,0,0,526.9,40.8,3.1);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
			}	
		}

		if(quest::istaskactivityactive(504,9)) {
		
			if($text=~/Hail/i) {
				quest::shout("Ahhh the orcses they are after meeez");
				quest::depop(999203); 
				quest::unique_spawn(999203,0,0,432.7,393.0,43.1,12.6);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
			}	
		}		

		if(quest::istaskactivityactive(504,11)) {
		
			if($text=~/Hail/i) {
				quest::shout("Ahhh the orcses they are after meeez");
				quest::depop(999203); 
				quest::unique_spawn(999203,0,0,478.3,914.2,34.8,12.6);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
			}	
		}

		if(quest::istaskactivityactive(504,13)) {
		
			if($text=~/Hail/i) {
				quest::shout("Ahhh the orcses they are after meeez");
				quest::depop(999203); 
				quest::unique_spawn(999203,0,0,-261.6,926.7,12.7,12.6);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
			}	
		}
		
		if(quest::istaskactivityactive(504,15)) {
		
			if($text=~/Hail/i) {
				quest::shout("Ahhh the orcses they are after meeez");
				quest::depop(999203);
				quest::unique_spawn(999203,0,0,38.4,477.8,49.0,12.6);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
				quest::spawn(999204,0,0,-876.6,350.9,90.3);
			}	
		}
		
	}
}
Reply With Quote