Hey, how's it going?
Today without much difficulty I was able to take information from the whereabouts tutorial from the book Hacking World of Warcraft and the WoW API from wowwiki and make a ultra simplistic player unit frame displaying name, race, class, health and mana, rage, energy, current xp, and max xp, all updating in real time.
screenshot
There it is. Amazing I know...
Now I am hiding the default player frame with a simple script I use to hide many different frames (mostly on the minimap). My actual question is coming soon, promise.
*ahem* What do I have to do to make my own unitframe pop up when a target is targeted?
I thought naming the frame after the default blizzard frames in the xml files would maybe overide the defaults, so I tested that theory with the player frame but that didn't work at all.
I really just don't know what to do. So I tried looking at other unit frame addons, and woah- totally overwelmed.
So I turn to you, often helpful posters of wowinterface, to gimme a push so to speak. It can't be that hard, I just have no idea
Thanks.