Thread Tools Display Modes
01-15-07, 05:05 PM   #1
ChiperSoft
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 7
UnitIDs for raid target icons

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.
  Reply With Quote
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

WoWInterface » Developer Discussions » Wish List » UnitIDs for raid target icons

Thread Tools
Display Modes

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