So here's the thing. Recently I made myself some unit frames with Stuf Unit Frames and Kg Panels, using a texture I made a couple of days back. It's basically designed to visually fit in with the default UI, but have more room for various things compared to what the default unit frames have.
But to make it a bit more interesting, I want to enhance it by making the target frame show the gold/silver dragon on rare and elite mobs. I was hoping here someone could help me with developing a simple script that shows/hides a couple of preset frames based on the target's classification (or even alters the texture of a single frame based on the same condition); so that the unit frame can show the target classification in the same way the default unit frames do.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh
You can use SharedMedia-Blizzard for this instead, if you wish.
edit: because they come attached to the default unit frame texture (that texture is the one that's swapped in the default UI)
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh
Alright, I've managed to set up something that seems to be working. There is a slight delay when targeting before the texture shows/hides, but it's bearable.