Thread Tools Display Modes
05-02-13, 07:13 PM   #1
Clamsoda
A Frostmaul Preserver
Join Date: Nov 2011
Posts: 269
Determining the Number of Mobs Within Some Distance of Your Target

Good evening,

I am curious if there is any way to ascertain how many mobs might be withing a certain distance of a target.

The example would be: If I targeted a mob; would there be any way to see how many mobs are within 5 yards, or 10 yards of THAT target.

Thank you for any insight.

Last edited by Clamsoda : 05-03-13 at 12:28 AM.
  Reply With Quote
05-02-13, 07:20 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Not possible. See also:

Originally Posted by Phanx View Post
Addons cannot tell which direction mobs or other players are facing.
  • You cannot have an addon that tells you if you can use Backstab right now.

Addons cannot determine the position of mobs or players outside of your group.
  • You cannot tell exactly how far away something is from you.
  • You can only get a general idea by checking to see if spells are in range.
http://www.wowinterface.com/forums/s...ad.php?t=42367
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
05-02-13, 11:52 PM   #3
Clamsoda
A Frostmaul Preserver
Join Date: Nov 2011
Posts: 269
There is an AddOn (apparently), that can tell you the amount of mobs in front of you, to gauge the effectiveness of Chi Wave. Wasn't sure if there was a way to tell inside of an instance with the new minimap changes.

Last edited by Clamsoda : 05-03-13 at 03:15 AM.
  Reply With Quote
05-03-13, 01:12 AM   #4
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Does this mysterious addon have a name or do you expect us to just know what you're talking about.
  Reply With Quote
05-03-13, 02:48 AM   #5
Clamsoda
A Frostmaul Preserver
Join Date: Nov 2011
Posts: 269
I haven't got a clue, this isn't my question. I was asked if such a thing was possible, and when I said there was no way to know where a mob was, I was told that there is an AddOn that already does it.

That being said, the person who asked me if I could make an AddOn to tell how many mobs are around a target has no experience beyond using AddOns, and could be completely mis-describing the functionality of the "Chi Wave AddOn".

Was hoping you guys knew.

I edited my previous post to emphasize the "apparently" portion, considering I've never heard of it either.

Edit: I think the only reason I decided to ask, rather than dismissing the notion, is because there are modules for Grid that gauge the effectiveness of Chain Heal, Circle of Healing, et cetera. Also, the Sha Assist AddOn, and the range modules for BigWigs and Deadly Boss Mods at least have the illusion of knowing where units are. I wasn't sure if that same API could be translated to mobs to achieve a similar goal.

Last edited by Clamsoda : 05-03-13 at 03:07 AM.
  Reply With Quote
05-03-13, 03:08 AM   #6
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Well, you can tell them that it isn't feasible to accurately detect the position of an enemy unit.

There have certainly been addons in the past that show how many friendly units are within range of an aoe heal, but what you're describing can't really be done.

You can get the position of units in your group, and through addon communication it is possible to transmit the coordinates of other units running the addon, but outside of that there are no api functions for getting real positional data.

There is one teeny tiny exception involving the combat log and friendly unit positions but as far as I know it's never actually been implemented into an addon and it wouldn't be reliable enough to use.

Last edited by semlar : 05-03-13 at 03:15 AM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Determining the Number of Mobs Within Some Distance of Your Target


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