yeah, if you're not a healer, then you won't have healbot running and this is probably something that's only likely to be that big. maybe even more like the size of gladius if it's only concerned with healers and not all units. you could also have it drop units if they haven't been seen in the combat log for a while...
in terms of healbot's range stuff, that's a bit different. range mods use a spell range check api to determine if a unit is "in range" or not. the thing is, that api is only available for the specific targeting unit ids exposed by blizzard -- target, focus, raid1-40, party1-5, arena1-5, and pet... plus all the combos like raid1pet, player4focus, arena4focustarget, etc. notice that there is no unit id for enemies in a battleground. and since you can't specify a unit by name, this api won't work for enemy units unless they're being targetted by you (or focused). or unless you check all the raid targets to see if they happen to be the one you're interested in. in short, an enemy target mod won't have access to the spell range api.
the range on the combat log is a bit larger than any spell you might cast, but it's better than nothing...
Ooh, okay. I think someone tried to say that earlier, but didn't do so in a way that people who don't code addons could understand. Would it be possible to program it to pop up after combat, so that it was there next combat, and just lit up or something when they were close, like healbot?
yeah, it could certainly just check every now and again to see what healers there are in the match and pop little buttons with their names that could be click-to-target buttons. the problem is, you don't necessarily know which one is near you.
the combat log might help here since i don't think you get messages about enemies too far from you, so if those buttons had some element that showed active healing, you could presume that the target is somewhat near you... it might even be smart enough to match up numbers between healer and healer's target to identify the unit healing your target... not sure about that one, tho.
There's no way for an addon to watch the combat log and figure out who is healing that way?
Or in battlegrounds, watch that chart that shows total damage and total healing done?
figuring out who is healing is only part of the problem. placing that data onto the ui in a meaningful way is where the issues come up. blizzard allows for lots of automation with regards to friendly units and not much at all with regards to enemy units. you can't pop up a secure frame (one that lets you click and cast) during combat, for example.
Range detection could be handled by opacity, as in most UFs.
Anyway, you might be screwed by rogues and kitties.
no, i meant range detection in the sense of knowing if an enemy is near you. with allies, you can get ranges but i don't think you can do that for enemies, so there'd be no way to see if there's a healer near you.
another idea along these lines is to attach a marker of some kind to nameplates. like a healer icon for anybody who's healing and a dps icon for anybody who's dps. that could be done for enemies AND for allies. for allies, you could base it on spec. for enemies, you could base it on spells cast and/or the scoreboard.
i've wanted something like this for a while. imagine something akin to vuhdo or healbot, only it would be populated by enemies instead of friendly units. it could get the names while out of combat and set everything up so that the secure actions wouldn't be a hinderance. it would then check the combat log for activity and associate that activity with the enemy buttons. it might not be perfect in terms of range detection, but i think it could be useful.