WoWInterface - View Single Post - Taint from script to move the arena frames (retail)
View Single Post
11-10-19, 02:25 AM   #5
A Deviate Faerie Dragon
Join Date: Mar 2009
Posts: 10
Originally Posted by d87 View Post
Find where it gets reset, probably here:

Use hooksecurefunc and move it back where you want
Can you provide me with the code? I'm not good with this, mainly been "stealing" the codes. :P

I got this for arena numbers on nameplates (arena numbers instead of lvl number), maybe that coding can be similar for moving and keeping the arenaframes in place? It uses the "hooksecurefunc" like you mentioned.
-- Arena1-2-3 on nameplates --
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