Thread Tools Display Modes
Prev Previous Post   Next Post Next
03/04/18, 08:34 PM   #1
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 103
[outdated] Add IsIn40YardRange boolean to EVENT_COMBAT_EVENT & EVENT_EFFECT_CHANGED

I'm curious if it would possible to implement some kind of IsIn40YardRange boolean to both:
EVENT_EFFECT_CHANGED
EVENT_COMBAT_EVENT


I think there might have been a reason given for not having exact range tracking for events in the worldspace around us before - but I'm wondering if it might be fair enough to skirt around this a little bit and give us a "Is this nearby enough to be relevant to us" checker. Then we can filter out events further away that might be irrelevant. This could add some efficiency to various addon functions if we could register this as a Filter for handlers for these events.

The specific reason I'm interested in for this is for a component I'm developing in LUI:
It's effectively a more advanced version of the Block/Dodge/Interrupt alert tips sent by the default UI - that uses combat events to the get the ability name, icon, source, etc and display information.

But for NPC abilities where the cast doesn't actually target the player I have to check for EVENT_COMBAT_EVENT or EVENT_EFFECT_CHANGED happening to display alerts for those. The problem with that is the player will get notifications for mobs a significant distance away and completely irrelevant to them.

Last edited by ArtOfShred : 03/04/18 at 08:37 PM.
 
 

ESOUI » Developer Discussions » Wish List » [outdated] Add IsIn40YardRange boolean to EVENT_COMBAT_EVENT & EVENT_EFFECT_CHANGED


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

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