Quantcast
WoWInterface - View Single Post - Arena Numbers in ArenaEnemyFrame
View Single Post
06-26-20, 09:16 AM   #1
area1t
A Kobold Labourer
Join Date: Jun 2020
Posts: 1
Arena Numbers in ArenaEnemyFrame

Hi I am new here

I was wondering if anyone could help me create an addon I haven't been able to find.
I'm trying to make the player names on the arena frames change to the corresponding arena numbers.
The same way the addon "Arena Nameplate Numbers" works for nameplates but for the arena frames.


but for the arena frame names:


Here is the LUA for the addon "Arena Nameplate Numbers":
Lua Code:
  1. local U=UnitIsUnit hooksecurefunc("CompactUnitFrame_UpdateName",function(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)
  Reply With Quote