You should download an example of raid frames that show Archetypes (Fighter, Scout..) in a simple way (e.g. DarqUI 2.0 I know is one).
Then you can change it to inspect Subclass instead, and link to the appropriate image icon style.
E.g. in Darq, you have a text label that draws its text content from GameData.Unit.Archetype. OnTextChange, the label pushes an image icon to have a specific Archetype style, say, "Archetype.style=text". The styles have been set up (little cog icons in the UI builder) to be called Fighter, Scout, Mage and Priest.
If you don't get what I mean, you should download Darq, look through the code in the UI builder, and you'll see how it's working. You just need to modify the label used to "push" the info out to be the Subclass, and add in new style types to use (Templar, etc). I can't offer examples since I'm on a work PC.
|