1. #1

    Kg panels class color border

    Hello i need to make ma kgpanels setup to show borders with class color so i can easy switch between more classes.

    I found this script for classcolor background wich works fine:

    Code:
    local _, Class = UnitClass("player")
    local Color = RAID_CLASS_COLORS[Class]
    self.bg:SetVertexColor(Color.r, Color.g, Color.b, self.bg:GetAlpha())
    Now i need somethink similar that works for border. Since i'm a nab in scripting i need heelp
    Last edited by mmocba105e19de; 2011-09-27 at 07:36 AM.

  2. #2
    Deleted
    Code:
    self:SetBackdropBorderColor(Color.r,Color.g,Color.b)
    Should do the trick.

  3. #3
    works perfectly ty

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •