Jump to content


Arena frames target shower

target of target arena frame

  • Please log in to reply
1 reply to this topic

#1 hordala

  • Members
  • Posts: 4

Posted 15 June 2013 - 11:30 PM

Hello I've been trying to figure out how to make a addon or script to show the arena frames target next to the arena 1-3 frames. There have been one other person who shared a script like this but it does not seem to work if anyone has any insight into this pleas share some ideas thanks!:D
  • 0

#2 Syncrow

  • Premium
  • Posts: 183

Posted 27 June 2013 - 07:03 PM

Macro Scripts for Arena-Targets ->

Macro 1:
/run CF=CreateFrame; FR="Frame"; AEF="ArenaEnemyFrame"; TL="TOPLEFT"; TR="TOPRIGHT"; AW="ARTWORK"; FONT="Fonts\\\FRIZQT__.ttf"; OL="OUTLINE"; R="RIGHT"; UT="UNIT_TARGET"; OE="OnEvent"
Macro 2:
/run MTF=function(i) f=CF(FR,nil,_G[AEF..i]) f:SetPoint(TR,_G[AEF..i],TL,0,0) f:SetSize(100,10) f.n = f:CreateFontString(nil,AW) f.n:SetFont(FONT, 10, OL) f.n:SetPoint(R,f,0,0) f:Hide() f:RegisterEvent(UT) return f end
Macro 3:
/run for i=1,5 do f=MTF(i); f:SetScript(OE,function(s,e) local unitID = "arena"..i.."target" if UnitExists(unitID) then local N = UnitName(unitID); s:Show(); s.n:SetText(N) else s:Hide() end end) end

  • 0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users