Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-28-2015, 04:41 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default Proximity check for surrounding NPCs

Hi all,

I am trying to have a NPC do proximity check that will check for any NPC in the proximity.

The purpose of this is, im starting from scratch and im trying to globally do a scripted distance chain aggro so I can bypass factions. Also other uses.

I have read that NPC proximity can only check for PC. If thats the case. there is also the
Code:
 if(plugin::CheckDistBetween2Ents($npc1, $npc2, 50)){
stuff. If this is set to a timer and I want it to check for ANY NPC within the range, would I use an array of all my npcs in the zone or whatever i want it to link to?

Everything I have tried so far has failed, am just looken for direction. Hopefully I can write it when on the path lol

Thank you.
__________________
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:45 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3