View Single Post
06-28-10, 09:30 PM   #8
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 918
Is it possible to use raid10, raid25 and raid40 as UnitSpecific, directly? I mean just like player, pet, etc.

Something like this ...

Code:
local UnitSpecific = {
	raid10 = function(self)
		Shared(self)
					
		self:SetAttribute('initial-height', 26)
		self:SetAttribute('initial-width', 80)		
	end,
	
	raid25 = function(self)
		Shared(self)
				
		self:SetAttribute('initial-height', 20)
		self:SetAttribute('initial-width', 40)		
	end,	
		
}
That would be pretty damn awesome, because you could have different raidframes for different raid sizes, really easy.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

  Reply With Quote