Thread Tools Display Modes
11-14-10, 06:03 AM   #1
hairy_palms
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 25
numDebuffs

hi, ive been trying to set up a frame using numdebuffs to only show 2 debuffs at a time, my code is
Code:
self.Debuffs = CreateFrame("Frame", nil, self)
		self.Debuffs:SetHeight(20)
		self.Debuffs:SetWidth(40)
		self.Debuffs.size = (20)
		self.Debuffs.spacing = 1
		self.Debuffs.numDebuffs = 2	
		self.Debuffs:SetPoint("CENTER")
		self.Debuffs.initialAnchor = "CENTER"
		self.Debuffs.onlyShowPlayer = false
		self.Debuffs.showDebuffType = true
		self.Debuffs.CustomFilter = RaidCustomFilter
yet it happily flys up to unlimited amounts of debuffs, does anyone know what im doing wrong?
  Reply With Quote
11-14-10, 08:18 AM   #2
Krag72
A Deviate Faerie Dragon
Join Date: Sep 2008
Posts: 14
try
Code:
self.Debuffs.num = 2
The numDebuffs and numBuffs are for the combined aura where both can be present.
  Reply With Quote
11-14-10, 09:04 AM   #3
hairy_palms
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 25
ah, thanks, that was what i was after
  Reply With Quote
11-14-10, 09:04 AM   #4
yj589794
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 314
lots of info available on the wiki...
http://github.com/haste/oUF/wiki/element---auras
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » numDebuffs


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off