Quantcast
Local colors from 'RAID_CLASS_COLORS' - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-19-20, 07:40 AM   #1
Morale
A Defias Bandit
Join Date: Nov 2020
Posts: 3
Local colors from 'RAID_CLASS_COLORS'

Trying to update a weakaura thats attempting to color the unit frames based off of this

function()
local colors = RAID_CLASS_COLORS[select(2, UnitClass("player"))]
return colors.r, colors.g, colors.b, 1
end
not sure what is out of date here.. the function is coloring the frames fine most of the time.. but some times im getting a ton of lua errors from it. unsure why.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Local colors from 'RAID_CLASS_COLORS'

Thread Tools
Display Modes

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