WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   small help needed - raid frames (https://www.wowinterface.com/forums/showthread.php?t=56579)

Coldkil 08-20-18 03:51 AM

small help needed - raid frames
 
Hi, it's been a long time from the last i made my ui, so i'm currently developing a new design for BfA.

I'm working on raid frames - i simply don't remeber anymore how to spawn them correctly with the oUF:Spawn function. I'd like to have them spawned in this order:

1 . 2 . 3 . 4 . 5
6 . 7 . 8 . 9 . 10

etc.

Can anyone help with the needed syntax? I simply cannot find it around :) sorry for the noob question, here's a pic link for curious people (don't mind the aura buttons, it's a WIP).

https://i.imgur.com/8eDE99Y.jpg

runamonk 08-20-18 07:56 AM

This should get you started. :) Added party just in case you want/need that as well.

Lua Code:
  1. self:SpawnHeader('party', nil, 'solo,party',
  2.         'showParty', true,
  3.         'showPlayer', false,
  4.         'showRaid', false,
  5.         'yOffset', -3,
  6.         'oUF-initialConfigFunction', [[ self:SetHeight(20) self:SetWidth(200) ]]
  7.     ):SetPoint('TOPLEFT', 25, -50)
  8. self:SpawnHeader('raid', nil, 'raid',
  9.         'showRaid', true,
  10.         'showSolo', false,
  11.         'showPlayer', true,
  12.         'showParty', false,
  13.         'yOffset', -3,
  14.         'groupFilter', '1,2,3,4,5,6,7,8',
  15.         'groupBy', 'ASSIGNEDROLE',
  16.         'groupingOrder', 'MAINTANK, MAINASSIST, TANK, HEALER, DAMAGER, NONE',
  17.         'maxColumns', 2,
  18.         'unitsPerColumn', 40,
  19.         'columnSpacing', 5,
  20.         'point', 'TOP',
  21.         'startingIndex',1,
  22.         'columnAnchorPoint', 'LEFT',
  23.         'oUF-initialConfigFunction', [[ self:SetHeight(20) self:SetWidth(200) ]]
  24.     ):SetPoint('TOPLEFT', nil, 25, -150)

Coldkil 08-21-18 02:17 AM

Thanks a lot - i'll edit the various options so i can see what they do and make some comments to keep my memory fresh :D

As for party, i decided not to use it since raid frames are fine enough for now, may decide later on to add it (i'll need just to change the visibility trigger).

runamonk 08-21-18 02:38 AM

That's how most people do it as well. I just like my party seperate, but all together works just fine. :)


All times are GMT -6. The time now is 04:05 AM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI