View Single Post
12-06-11, 08:00 AM   #27
T4YR3L
A Deviate Faerie Dragon
Join Date: Dec 2009
Posts: 15
Originally Posted by Taryble View Post
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?
__________________

Last edited by T4YR3L : 12-06-11 at 12:43 PM.
  Reply With Quote