WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Loot Roll (https://www.wowinterface.com/forums/showthread.php?t=46160)

Kendian 04-02-13 02:34 PM

Loot Roll
 
Hello, all. Here's the thing. When I win a roll, the frame that pops up is directly over my action bars. I use teksloot, love it and no problem there. I tried using Xruptor's LootRollMover, same problem. Using /fstack gave me the name of the frame- LootRollFrame1. Any ideas how to adjust the placement of this? Without using a huge addon to move one frame?

It's not the frame that tells you what is there to roll on, it's the frame that tells you that you've won the roll, that I'd like to move. My thanks, in advance, for any/all help~ :o

Haleth 04-02-13 02:39 PM

You might want to check out https://github.com/Ketho/wow-ui-sour...lertFrames.lua

Code:

function AlertFrame_SetLootWonAnchors(alertAnchor)
        for i=1, #LOOT_WON_ALERT_FRAMES do
                local frame = LOOT_WON_ALERT_FRAMES[i];
                if ( frame:IsShown() ) then
                        frame:SetPoint("BOTTOM", alertAnchor, "TOP", 0, 10);
                        alertAnchor = frame;
                end
        end
        return alertAnchor;
end

Btw, any chance of a PTR build? :D

Kendian 04-02-13 04:57 PM

I added that snippet to my minimap code and it works brilliantly. My thanks~ :o


All times are GMT -6. The time now is 09:17 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI