+ Reply to Thread
Results 1 to 8 of 8
  1. #1

    Join Date
    Oct 2011
    Location
    Norway
    Posts
    51
    Rep Power
    3
    Zarr is on a distinguished road

    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?

  2. #2

    Join Date
    Mar 2010
    Location
    The Netherlands, Europe
    Posts
    122
    Rep Power
    0
    urandor is an unknown quantity at this point
    There is an addon called sArena that does this, if you are willing to use addons.

  3. #3

    Join Date
    Oct 2011
    Location
    Norway
    Posts
    51
    Rep Power
    3
    Zarr is on a distinguished road
    Ok thanks ill check it out

  4. #4

    Join Date
    Oct 2011
    Location
    Norway
    Posts
    51
    Rep Power
    3
    Zarr is on a distinguished road
    Didnt find it

  5. #5

    Join Date
    Mar 2010
    Location
    The Netherlands, Europe
    Posts
    122
    Rep Power
    0
    urandor is an unknown quantity at this point

  6. #6

    Join Date
    Oct 2011
    Location
    Norway
    Posts
    51
    Rep Power
    3
    Zarr is on a distinguished road
    Thank you)

  7. #7

    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    0
    Avanti is on a distinguished road
    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)

  8. #8

    Join Date
    Apr 2012
    Posts
    26
    Rep Power
    0
    CyrusGuild is on a distinguished road
    Sorry but what does this do?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts