View Single Post
11-20-12, 02:27 PM   #5
nin
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 213
Thanks for the info guys!

What confuses me the most is the structure i have i guess...

I can get this to work with my buffs/debuffs that i use for all my UF's but raidframes because i use a different structure there with spellID's and stuff.

Now i have a file called auras (this is debuffs on my raidframes) and a file called auras2 (these are buffs on my raidframes).

I spawn them in my core layout with

Lua Code:
  1. local auras = CreateFrame("Frame", nil, self.Health)
  2. auras:SetSize(22,22)
  3. auras:SetPoint("CENTER", self.Health,0,6)
  4. auras.size = 21
  5. self.freebAuras = auras
  6. self.freebAuras.PostUpdateIcon = postUpdateAura

Most of the confusion is if i add the postupdate function in my core or in my aura files?

I tried both, im not getting any errors, but the frames are just not being colored(white).

Thanks for being awesome.
  Reply With Quote