How to globally change reaction color.
Heya
Is it possible to globally change the UnitReactionColors? I have been using Code:
RAID_CLASS_COLORS Any help would be appreciated. |
This is from the default TargetFrame.lua:
Code:
UnitReactionColor = { |
Yes this was a first thing I tried but it doesn't seem to work. Perhaps I'm using it wrong? All I am doing it loading a file with with few lines of raw code. No functions, events, frames. I'm not sure why it works fine for class colors but wont for reaction colors.
|
GameTooltip_UnitColor(unit) is the function used for setting the reaction color in the tooltip. You could probably hook that without taint problems.
In WoW 3.0, the UnitReactionColor table has been replaced with the function: Code:
ref, green, blue, alpha = UnitSelectionColor(unit) -- Cirk |
All times are GMT -6. The time now is 04:49 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI