View Single Post
10-07-10, 10:21 AM   #28
senomar
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 3
i have no luck spawning the raid/party frames with 1.5

this works with 1.4.x on live:
Code:
oUF:Factory(function(self)
	self:SetActiveStyle('my_raid')
	local raid = {}
	local group = self:SpawnHeader(nil, nil, 'raid,party',
		'showParty', true,
		'showPlayer', true,
		'yOffset', -5,
		'showRaid', true,
		'groupFilter', '1'
	)
	table.insert(raid, group)
	group:SetPoint('TOPLEFT', UIParent, 20, -15)
	for i = 2, 8 do
		local group = self:SpawnHeader(nil, nil, 'raid,party',
			'yOffset', -5,
			'showRaid', true,
			'groupFilter', tostring(i)
		)
		group:SetPoint('TOP', raid[i-1], 'BOTTOM', 0, -20)
		table.insert(raid, group)
	end
end)
any clues?
thx in advance
  Reply With Quote