+ Reply to Thread
Results 1 to 8 of 8
-
02-18-2012 #1
- Join Date
- Oct 2011
- Location
- Norway
- Posts
- 51
- Rep Power
- 2
Trinket script how to do?
Hey just fixed my ui and the only thing left is how to trinket cd tracker for enemyarena, how to script/make it?
-
02-18-2012 #2
- Join Date
- Mar 2010
- Location
- The Netherlands, Europe
- Posts
- 112
- Rep Power
- 0
-
02-18-2012 #3
- Join Date
- Oct 2011
- Location
- Norway
- Posts
- 51
- Rep Power
- 2
Ok thanks ill check it out
-
02-18-2012 #4
- Join Date
- Oct 2011
- Location
- Norway
- Posts
- 51
- Rep Power
- 2
Didnt find it
-
02-18-2012 #5
- Join Date
- Mar 2010
- Location
- The Netherlands, Europe
- Posts
- 112
- Rep Power
- 0
-
02-18-2012 #6
- Join Date
- Oct 2011
- Location
- Norway
- Posts
- 51
- Rep Power
- 2
Thank you
)
-
04-12-2012 #7
- Join Date
- Mar 2012
- Posts
- 4
- Rep Power
- 0
Not sure if you still need it but here it is:
Code:/run rc=36;rfc=CooldownFrame_SetTimer;aef="ArenaEnemyFrame";hb="HealthBar";trt=GetItemIcon(37864)ctf = CreateFrame;oe="ARENA_OPPONENT_UPDATE"ve="PLAYER_ENTERING_WORLD"tr="RIGHT"LoadAddOn("Blizzard_ArenaUI") /run function Cr(i)local f=ctf("Frame",nil,UIParent)f:SetPoint(tr,_G[aef..i..hb],tr,80,0)f:SetSize(rc,rc)f.t=f:CreateTexture(nil,"BORDER")f.t:SetAllPoints(true)f.t:SetTexture(trt)f.c=CreateFrame("Cooldown",nil,f)f.c:SetAllPoints(f)return f;end /run function ur(f,i)f:SetScript("OnEvent",function(_,e,u,_,_,_,s)if(u=="arena"..i)then if(s==42292 or s==59752)then rfc(f.c,GetTime(),120,1)elseif(s==7744)then rfc(f.c,GetTime(),30,1)end end end)f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")end /run for i=1,5 do _G["rf"..i]=Cr(i)local f=_G["rf"..i]ur(f,i)f:Hide()end function str(o,m)for i=1, m do local f=_G["rf"..i]if o then f:Show()else f:Hide()f.c:Hide()end end end /run tk=ctf("Frame")tk:SetScript("OnEvent",function(_,e)if e==oe then str(1,GetNumArenaOpponents())else str(nil,5)end end)tk:RegisterEvent(oe)tk:RegisterEvent(ve)
-
04-14-2012 #8
- Join Date
- Apr 2012
- Posts
- 26
- Rep Power
- 0
Sorry but what does this do?

Reply With Quote