Originally Posted by Cybeloras
Unfortunately, UnitDistanceSquared only works on group members (party and raid).
|
I'd be pretty surprised if it were any other way, as Blizzard has made it abundantly clear over the years that they don't want addons having access to the locations of mobs or enemy players. With an accurate distance, you could easily triangulate the position.