Replacing an existing button
I currently have a spellbook mod that fully replaces the spell book. Unfortunately by doing so, it is incompatible with mods that directly add or change a part of the existing spell book.
So far, I got it to use the original spell book to help one part of the situation, but the other part is some of these mods also affect the original spell buttons. My modification to the spell book makes it so that each unique spell is listed only once, showing only the highest rank in the spell book. I could do this without replacing the spell button, but it will cause taint regardless what I do.
On the spell buttons, the only option I know is to fully replace the existing spell buttons. Is it possible to destroy the existing Blizzard button named SpellButton1 and create a new one with the same name?
After figuring out timing of loading the xml frames, setglobal is doing the job nicely.
Last edited by LBXZero : 07-27-08 at 05:58 PM.
|