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":
local U=UnitIsUnit hooksecurefunc("CompactUnitFrame_UpdateName",function(F)if IsActiveBattlefieldArena()and F.unit:find("nameplate")thenfor i=1,5doif U(F.unit,"arena"..i)then F.name:SetText(i)F.name:SetTextColor(1,1,0)breakendendendend)