Thread Tools Display Modes
07-16-14, 01:26 PM   #1
kruma
A Deviate Faerie Dragon
Join Date: Jun 2012
Posts: 15
Arena name

Hello!
need help to hide arena1-3 name
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_030414_004203.jpg
Views:	185
Size:	43.8 KB
ID:	8142  
  Reply With Quote
07-17-14, 12:10 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Assuming those are the default UI's arena enemy frames:

Code:
local function ClearText(obj, text)
     if text ~= "" then -- check first to avoid infinite loops
          obj:SetText("")
     end
end

for i = 1, 5 do
     hooksecurefunc(_G["ArenaEnemyFrame"..i].name, "SetText", ClearText)
end
If you need help turning the above code into an addon, copy and paste it into this page:
http://addon.bool.no/
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Arena name


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