• 0

    posted a message on eePanels2 - Official Thread
    @StylesCD:
    You probably need a new Targa.8BI file.
    This one is for 7.0, don't know which version you got: http://www.adobe.com/support/downloads/detail.jsp?ftpID=1544

    Also someone asked about elite-frame thing. Try this:
    function eePanels2:PLAYER_TARGET_CHANGED()
    local type = UnitClassification("target")
    if (type == "worldboss" or type == "elite") then
    THIS:Show()
    else
    THIS:Hide()
    end
    end
    eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED")

    I named the variable "type", hope it's not confusing :)
    You might also want to set the panel's parent to the target frame of the UF you use because the panel is visible when you log in and you need to target something to change that.
    Posted in: General AddOns
  • 0

    posted a message on PitBull 2.0
    Focus is my current solution. But sometimes I need it for other things. I was hoping for a simple copy-paste-like solution :)
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 2.0
    Is there a way to add an additional, separately configurable frame for player?
    I need a smaller player frame to put closer to my actionbar to easily track HP/power.
    Posted in: Unit Frames
  • 0

    posted a message on AG UnitFrames custom layouts
    I suppose in ag_WatchdogTags.lua replace the "??" with "":
    ["level"] = {func = function (u) local x = UnitLevel(u) return ((x>0) and x or "") end, event = "UNIT_LEVEL"},

    instead of:
    ["level"] = {func = function (u) local x = UnitLevel(u) return ((x>0) and x or "??") end, event = "UNIT_LEVEL"},

    (But then replace " Boss" with "Boss" in my previous post :)
    I put it because it should show "?? Boss" not "??Boss")
    Posted in: Unit Frames
  • 0

    posted a message on AG UnitFrames custom layouts
    @Margot:
    I wanted the exact same thing, and after some experimenting I got it right.

    In ag_WatchdogTags.lua change ["agclass"] to this (or you can create a new one):
    ["agclass"] = function (u) if UnitIsPlayer(u) then return (UnitClass(u) or L["Unknown"])
    	          elseif (UnitCreatureType(u)== "Not specified") then return ("Creature")
    		      else return (UnitCreatureFamily(u) or UnitCreatureType(u) or "")
    			  end
    end,

    And in locales/ag_UnitFrames-enUS.lua put this:
    ["Boss"] = " Boss",
    ["Rare-Elite"] = "r+",
    ["Elite"] = "+",
    ["Rare"] = "r",

    instead of:
    Boss = true,
    ["Rare-Elite"] = true,
    Elite = true,
    Rare = true,


    Now in-game open ag_UF options and set Target->Status Text->Class Text->Style to Custom
    and set Custom to [level][classification] [agclass]
    Posted in: Unit Frames
  • To post a comment, please or register a new account.