PDA

View Full Version : SpellBook Frame Reference


cnewman
11-29-2004, 04:28 AM
How do I reference different containers in the UI? For example, I want to modify the location of the spellbook when it pops up cause it covers my left sidebar. Any advice?

sarf
11-29-2004, 08:21 AM
Check out this neat little howto:
http://www.fukt.bth.se/~k/wow/stuff/howto-extract-interface-files.txt

Then check out the SpellBookFrame.xml

Check out the anchor...

Good luck!

Sarf
---
Damn the torpedoes.

cnewman
11-29-2004, 08:23 AM
Ya went ahead already and extract that file and spent 3 hours going thru it with no luck.

I then looked at Telo's QuickLoot mod and boom the answer was right there.

function moveSpellBook()
-- Don't treat the SpellBookFrame as a UI panel
UIPanelWindows["SpellBookFrame"] = nil;
SpellBookFrame:ClearAllPoints();
SpellBookFrame:SetPoint("TOPLEFT", "UIParent", "TOPLEFT", 50, -104);
end