Hola,
Is there a way to check if an NPC is spawned before doing something?
Something like:
Code:
if (defined $qglobals{"MjarakIsDead"}){
my $mjarak = $entity_list->GetMobByNpcTypeID(4770015);
if ($mjarak == 1){
quest::ze(15, "texthere");
quest::settimer(4772, 120);
}
else {
}
}
The if ($mjarak == 1) { was just wishful thinking, I've tried if ($mjarak->IsMob()){ too.