View Single Post
  #9  
Old 08-21-2016, 11:13 PM
DanCanDo's Avatar
DanCanDo
Discordant
 
Join Date: May 2016
Location: Above Hell
Posts: 400
Default

Yes, works like a charm Natedog. I shuved it in with this proximity snippet.
I aggro'd 3 different mobs (with dmg), ran back to the prox npc and they
stopped chasing me Thank You very much !

Code:
my $ProxDist = 50;

sub EVENT_SPAWN {
  my $x = $npc->GetX();
  my $y = $npc->GetY();
  my $z = $npc->GetZ();
  quest::set_proximity($x - $ProxDist, $x + $ProxDist, $y - $ProxDist, $y + $ProxDist, $z - $ProxDist, $z + $ProxDist);
}

sub EVENT_ENTER {
  $npc->SignalClient($client, 1);
  $entity_list->RemoveFromHateLists($client);
}
__________________
Project Insect Completed
Reply With Quote