View Single Post
03-04-07, 02:55 AM   #2
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
Originally Posted by ChiperSoft
Would be nice if we could get unitids for each of the target icons, like iconmoon, iconpurple, or even just icon0-8. This would not only allow for better targeting control in macros, but also unit frames for each icon.
It would be nice, but it would also open up a huge hole as addons can (currently) dynamically set raid target icons via SetRaidTarget(). Thus, by saying something like /cast [target=circle] Heal, an addon could automate as easily as was done before 2.0, completely undoing everything they attempted to protect.

Certainly the way around this would be to make SetRaidTarget()/SetRaidTargetIcon() protected functions.... but PLEASE don't do that. Addons are pretty powerful right now because they can set these icons, and they don't really automate anything, just make things a little easier and I don't see any reason to protect those APIs (other than to resolve the problem mentioned above).
  Reply With Quote