daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Aug 12th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. raid = {}
  2.     for i = 1, 8 do
  3.         local raidgroup = self:SpawnHeader('TukuiGrid'..i, nil, "raid,party,solo",
  4.             'oUF-initialConfigFunction', [[
  5.                 local header = self:GetParent()
  6.                 self:SetWidth(header:GetAttribute('initial-width'))
  7.                 self:SetHeight(header:GetAttribute('initial-height'))
  8.             ]],
  9.             'initial-width', T.Scale(66*C["unitframes"].gridscale*T.raidscale),
  10.             'initial-height', T.Scale(50*C["unitframes"].gridscale*T.raidscale),
  11.             "showParty", true,
  12.             "showPlayer", C["unitframes"].showplayerinparty,
  13.             "showRaid", true,
  14.             "xoffset", T.Scale(3),
  15.             "yOffset", T.Scale(-3),
  16.             "point", "TOP",
  17.             "groupFilter", tostring(i),
  18.             "groupingOrder", "1,2,3,4,5,6,7,8",
  19.             "groupBy", "GROUP",
  20.             "maxColumns", 8,
  21.             "unitsPerColumn", 5,
  22.             "columnSpacing", T.Scale(3),
  23.             "columnAnchorPoint", "TOP"     
  24.         )
  25.         if i == 1 then
  26.             raidgroup:SetPoint("TOPLEFT", TukuiPlayer, "TOPLEFT", 18, 100)
  27.         else
  28.             raidgroup:SetPoint("TOPLEFT", raid[i-1], 20, -60)
  29.         end
  30.         raid[i] = raidgroup
  31.     end
  32. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top