New Item Buff Display - make movable
The new Item buff display is great, but there is no way to toggle it off, and it is not part of the regular buff window.
I am using Gypsy Mod which allows me to move my buffs and stack them vertically, but I can not move this silly thing. Any one able to code it movable, (maybe cloning gypsy mods other movable windows?) thanks Kudane. --------------- XML I know, Lua on the other hand, I am all thumbs! |
Its part of a frame inside the BuffFrame.xml. You either have to set it relative to a window you want to make movable or you have to yank it out and put it into its own xml, with the acoompanying lua.
|
Quote:
I got Quote:
:) |
I can't code LUA for crap, just very basic scripts. In simpler terms this is what's going on.
There is a window that holds the buffs, called BuffFrame. Inside the BuffFrame XML they've added a layer to contain the Enchantment Buffs as its own frame. This makes it act as its own window and thus has its own positioning. To make it movable you would have to set that frame as a relative position to one of the other windows, or you could move the buffs out of that frame entirely and add them as part of the other buffs. Without going into specific code this is the best I can explain it, if you want you can unzip the modified BuffFrame.xml and lua that i've coded as part of the ClearHud and see what I'm talking about. |
FYI for the LUA API you probably is looking for
LayoutFrame:ClearAllPoints() -- Clear all attachment points for this object. LayoutFrame:SetPoint("point","relativeFrame","relativePoint"{,xOfs,yOfs}) -- Set an attachment point of this object So just need the layer frame name, in order to call it. That's how I set where to place the frame in my mod also. :-) |
It'd be nice if Mondinga could just make Item Buffs show up in Gypsy's Buff Bar, maybe with a purplish background to distinguish them from the regular buff and debuff spots.
|
Suggestion for you. Post said request in his forum. ;)
|
I modified BibMod to move the ItemBuff icons. Only problem is that the green move button would jump around on reload and wouldn't hide. I messed around with it for about an hour...
then I did a /script TemporaryEnchantFrame:Hide() Problem solved!!! |
Quote:
Done. |
QT, thanks for the info, that's undoubtedly precisely what many will want. :)
Keovar :D |
All times are GMT -6. The time now is 06:10 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI