1. May 23, 2018  

    Arena 123 display on nameplates addon

    Ive tried the macros found on the arenaplates thread on AJ and they did not work; does anyone have an addon that puts arena 123 above the nameplates?

  2. 3 Weeks Ago  
    No idea if it works here but I used this in retail long ago, still had it:
    /run local U=UnitIsUnit hooksecurefunc("CompactUnitFrame_UpdateName",funct ion(F)if IsActiveBattlefieldArena()and F.unit:find("nameplate")then for i=1,5 do if U( F.unit ,"arena"..i)then F.name:SetText(i)F.name:SetTextColor(1,1,0)break end end end end)

  3. 3 Weeks Ago  
    CompactUnitFrame_UpdateName won't work. CompactUnitFrame.lua was added in 4.0.1.

    try it for default nameplates:
    -------------------
    do
    local w,select,num,Rename = WorldFrame,select,0,function(self)
    local nm,n = self.nm
    n = nm:GetText()
    for i=1,5 do if UnitExists("arena"..i) and n == UnitName("arena"..i) then nm:SetText(n.."|cffffff00 (arena".. i.. ")") end end
    end
    CreateFrame("frame"):SetScript("OnUpdate",function ()
    local n = w:GetNumChildren()
    if n > num then
    for i = num + 1, n do
    local f = select(i, w:GetChildren())
    if not f:GetName() then
    local g,_,_,_,_,_,nm = f:GetRegions()
    if g and g:GetObjectType() == "Texture" and g:GetTexture() == "Interface\\TargetingFrame\\UI-TargetingFrame-Flash" then
    f.nm = nm
    Rename(f)
    f:HookScript("OnShow",Rename)
    end
    end
    end
    num = n
    end
    end)
    end
    ------------------------

Posting Permissions

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