Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Kgpanels border color script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off