Jump to content

  • Curse Sites
Help

Arena Stock Frames Script

Arena UnitFrames Script

  • Please log in to reply
1 reply to this topic

#1 Ipurge

Ipurge
  • Members
  • Posts: 1

Posted 22 September 2013 - 05:47 PM

Hey everyone! I'm having trouble going farther than -999 when trying to move my arena frames with script I try not to use addons at all. This is what I got so far

/run LoadAddOn("Blizzard_ArenaUI")local s,f="ArenaEnemyFrame"for i=1,3 do f=_G[s..i]f:ClearAllPoints()f:SetScale(1.1)f:SetPoint("TOPLEFT",i==1 and -999 or _G[s..(i-1)],i==1 and -80 or "BOTTOMLEFT")f:Show()_G[s..i.."CastingBar"]:Show()end _G[s.."s"]:Show()

Now if you can see the -999 it doesn't let me go farther than -999 I want the arena frames to go more to the left.

Someone help me! PLEASE! And thank you!

#2 Syncrow

Syncrow
  • Premium
  • Curse Premium
  • Posts: 183

Posted 22 September 2013 - 07:52 PM

something like this:

f:SetPoint("CENTER", UIParent, X - (100*math.ceil(i-1)) , Y - (80*math.ceil(i-1)) )

X and Y representing the position of the first frame..

100 and 80 are conditions for the next frames....





Also tagged with one or more of these keywords: Arena, UnitFrames, Script

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

<