View Single Post
11-20-08, 11:48 AM   #254
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by Kellen View Post
Revisiting Main Tank target frames. Although Blizzard allows you designate a raid member as an MT, it doesn't seem to provide a specialized UnitID for them (according to http://www.wowwiki.com/UnitId). Otherwise it should be easy to spawn something for 'maintank1target' or something like that.

It seems that what I'd need to do is:

1. Make a list of raid members who are designated as MTs.
2. On some raid update event (that I haven't found yet):
a. Update list
b. Spawn/despawn target frames for each member of the MT list.


Unsure if you can actually despawn frames though. If you can't, this would be a bad idea to implement.

Anyone else tried something like this before? Any thoughts on if this'd work? (flash of inspiration at the job, so haven't tried it yet)
oUF_Perfect has MT and OT frames, with their target's name in a fontstring (but can also be spawned as an own frame using custom templates)