View Single Post
Unread 10-01-09, 01:20 PM   #1209
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
Originally Posted by Aerials View Post
anyone know a layout with party frames spawned individually i could check out? trying to figure how to spawn rames as follows:

party3 party1 player target party2 party4


Something like this.

Code:
-- This defines the position

local player = oUF:Spawn("player")
player:SetPoint("TOPRIGHT", UIParent, "CENTER", -3, 0)

-- going left

local party1 = oUF:Spawn("party1")
 party1:SetPoint("RIGHT", player, "LEFT", -6, 0)

local party3 = oUF:Spawn("party3")
  party3:SetPoint("RIGHT", party1, "LEFT", -6, 0)

-- going right

local target = oUF:Spawn("target")
target:SetPoint("LEFT", player, "RIGHT", 3, 0)

local party2 = oUF:Spawn("party2")
 party2:SetPoint("LEFT", target, "RIGHT", 6, 0)

local party4 = oUF:Spawn("party4")
  party4:SetPoint("LEFT", party2, "RIGHT", 6, 0)
__________________
I stopped playing back in 2010. If you want to continue any addon or make a fork then feel free to do so. This is your permission slip.

Best regards, v6.

Last edited by v6o : 10-01-09 at 01:36 PM.
v6o is offline