Weakaura and/or Addon that tallies in range friendly players?

Hi, is there an addon and/or weakaura that tallies how many friendly players are in range of you?

You can’t target using Lua and you’d need to do that in order to spin through the friendlies to find out if you’re in range.

That said, if you know the unit names, you can do it.

Assuming you’re in a raid, you can spin through raid1 through raid…tostring(GetNumGroupMembers()) and check to see if they’re within varying definitions of “in range.”

You can do that with UnitInRange( insert unit name from above) {will give you true if you are ~40 or closer}, with IsSpellInRange(“spellName”, insert unit name from above) {will give you true if in range of that particular spell but ignores minimum ranges in certain circumstance}, or CheckInteractDistance(insert unit name from above, distanceIndex) {which will check for 28, 8, 7, 28, and 7 yards respectively for distanceIndex values 1 - 5}.

This would be relatively simple to put into a WA somewhat like the one I gave you earlier regarding armor types and classes and might be foldable into that same set of code, giving you three display strings instead of two.

1 Like

Have you looked at all of these?
https://wago.io/search/range

1 Like

thank you for your helpful ideas