Close
Showing results 1 to 4 of 4

Hybrid View

  1. #1
    Member luxlunae's Avatar
    Join Date
    Aug 2008
    Location
    Bay Area, CA
    Posts
    1431
    Blog Entries
    37

    Default Addon Issue: Sunn Viewport art is more "on top" than power auras

    Any addon developers know where I can go to either move power auras aura up (strangely the stack count is on TOP of the sunn viewport panel) or move the panel to the bottom.

    I'm not afraid to get my hands dirty by modifying a little lua.

  2. #2
    Multiboxologist MiRai's Avatar
    Join Date
    Apr 2009
    Location
    Winter Is Coming
    Posts
    6815

    Default

    Each aura you create has an X,Y position value that you can adjust. If you're talking about frame strata, Power Auras 4.x does not support that w/o hacking the Lua.

  3. #3
    Member luxlunae's Avatar
    Join Date
    Aug 2008
    Location
    Bay Area, CA
    Posts
    1431
    Blog Entries
    37

    Default

    Yes sorry, I meant the frame strata. I'm just fine with hacking the lua if someone more familiar with it would tell me where. It seems it might be easier to push sunnart down than to pull power auras up.

  4. #4
    Multiboxologist MiRai's Avatar
    Join Date
    Apr 2009
    Location
    Winter Is Coming
    Posts
    6815

    Default

    http://www.wowinterface.com/download...age=5#comments

    When I realized the strata limitation, I poked around the code and saved variables. I noticed that there's an option for strata which can be modified by "strata:BACKGROUND/LOW/MEDIUM/HIGH/DIALOG" in an import string. This really didn't change anything though because the aura would still be shown as "BACKGROUND" using fstack inspection.

    Adjusting this function seemed it allow the strata to work right using the strata option when importing an aura

    Code:
    Code:
    function PowaAuras:ShowAuraForFirstTime(aura)
    ...
        if (aura.strata ~= "LOW") then
            frame:SetFrameStrata(aura.strata);
        else
            frame:SetFrameStrata("BACKGROUND");
        end
    ...
    end
    Here's a working example of the current power auras working with the saved strata option.

    http://www.youtube.com/watch?v=OBtyMlJNe8k&hd=1

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •