Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Arena Numbers in ArenaEnemyFrame

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off