View Single Post
12-05-11, 09:30 PM   #25
T4YR3L
A Deviate Faerie Dragon
Join Date: Dec 2009
Posts: 15
Originally Posted by Nibelheim View Post
Ahh, thought you were already accounting for no target situations. Here you go:

Code:
if UnitExists("target") then
  local _, Class = UnitClass("target")
  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
Hello Nibelheim,
ive found you scripts google'ing xD

i want to ask if this code can be done also for party/raid members.
i mean the classcolor border for each player in party or raid. it is possible?

ty very much ^^
__________________
  Reply With Quote