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:
local auras = CreateFrame("Frame", nil, self.Health)
auras:SetSize(22,22)
auras:SetPoint("CENTER", self.Health,0,6)
auras.size = 21
self.freebAuras = auras
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.