Thread: is NPC spawned
View Single Post
  #2  
Old 06-19-2014, 04:15 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default

Found EntityVariableExists() under the mob-> commands,

Tried the following with no luck.

Code:
if (defined $qglobals{"MjarakIsDead"}){ ###Mjarak 2 min warning
		my $mjarak = $entity_list->GetMobByNpcTypeID(4770015);
		if ($mjarak->EntityVariableExists()){
		quest::ze(15, "texthere");
		quest::settimer(4772, 120);
		}
		}
Reply With Quote