Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-13-18, 03:44 PM   #1
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
UnitReaction color

Hello guys,

im trying to edit a name tag to work with color reaction, but no success. Can you help me to edit the code please?

self.Name:SetTextColor(unpack(cfg.colors.health))
instead of cfg.colors.health it should be the reactiontable (i have it already). Im just don't know how to setup correctly the table.



Table:

oUF.colors.reaction = {
[1] = {182/255, 34/255, 32/255},
[2] = {182/255, 34/255, 32/255},
[3] = {182/255, 92/255, 32/255},
[4] = {220/225, 180/255, 52/255},
[5] = {132/255, 181/255, 26/255},
[6] = {132/255, 181/255, 26/255},
[7] = {132/255, 181/255, 26/255},
[8] = {132/255, 181/255, 26/255},
}

Last edited by GreyFox777 : 04-13-18 at 03:49 PM.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » UnitReaction color


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