View Single Post
11-25-14, 06:17 PM   #1
Verisnia
A Murloc Raider
Join Date: Mar 2013
Posts: 5
Kgpanels border color script

I've been trying to set a script to change the colour of the panel borders to class colours when I log onto any character (any class). Whenever I first login, the border colour has reset itself to the borders normal colour of white. The script I currently have that is headed in the right direction (sort of, I suppose) is this below.


Lua Code:
  1. local _,class = UnitClass("player")
  2.  
  3. self:SetBackdropBorderColor(RAID_CLASS_COLORS[class].r, RAID_CLASS_COLORS[class].g, RAID_CLASS_COLORS[class].b)


Am I missing something or just being silly like usual?

Last edited by Verisnia : 11-25-14 at 06:25 PM.
  Reply With Quote