Originally Posted by Phanx
You probably just need to change how you find the nameplates (replace that OnUpdate script scanning all the WorldFrame's children with an OnEvent script listening for the new events to detect when a nameplate is created) and how you refer to the elements (instead of "frame.healthBar = frame:GetChildren()" and then referring to "frame.healthBar", just refer to "frame.UnitFrame.healthBar").
Everything else you're doing as a style mod (changing textures/fonts, and moving stuff around) shouldn't really need many/any changes.
|
I actually found it significantly easier to re-write the entire thing than try and sift through zork's code and fix it.
Thanks very much for the help, I had no idea about the nameplate changes, so thanks.
I'll be able to re-include rNamePlates with me next update to Roth UI