Just saw this:
Code:
sub EVENT_SAY{
my $npc1 = $entity_list->GetNPCByNPCTypeID(10001);
my $npc2 = $entity_list->GetNPCByNPCTypeID(10002);
#::: Check to See if these NPC's are within distance
if(plugin::CheckDistBetween2Ents($npc1, $npc2, 50)){
quest::say("NPC's are in distance of 50");
quest::say("NPC 1 is " . $npc1->GetCleanName());
quest::say("NPC 2 is " . $npc2->GetCleanName());
} else{
quest::say("These NPC's are not in distance at all");
}
}
Thinking this will work for me. Should be able to spawn the adds on a grid and have them despawn when they get too close to a dumby npc strictly there for this.