Originally Posted by Taryble
Just change the part where it says "target" (UnitExists("target"), UnitClass("target")), to "party1", "party2", "party3", "party4", and then raid1 thru raid40 (or however high you want to go).
|
ty for the rapid answer..
so, are something like that in the On Event section:
if UnitExists("party1") then
local _, Class = UnitClass("party1")
local Color = RAID_CLASS_COLORS[Class] or {r = 1, g = 1, b = 1}
self:SetBackdropBorderColor(Color.r, Color.g, Color.b, self.bg:GetAlpha())
end
and in On Load Section?
local _,class = UnitClass("party1") ? ^^'
EDIT: its work, but only with party1 frame :|
what's wrong?