Thread Tools Display Modes
03-18-21, 06:11 PM   #1
keid
A Defias Bandit
Join Date: Mar 2021
Posts: 3
Change color of text - Blizzard Raid frame.

Hello,
By this simple addon:

Code:
RAID_CLASS_COLORS['PRIEST']["r"] = 0
RAID_CLASS_COLORS['PRIEST']["g"] = 0
RAID_CLASS_COLORS['PRIEST']["b"] = 0
RAID_CLASS_COLORS['PRIEST']["colorStr"] = "000000"
I can set all priest as black in my raid frames.
How can I change only priests name to Red?
  Reply With Quote
03-18-21, 06:27 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
It would depend on what, if any, addon your are using.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
03-19-21, 03:54 AM   #3
keid
A Defias Bandit
Join Date: Mar 2021
Posts: 3
Im using blizzard raid frames.
  Reply With Quote
03-26-21, 03:39 PM   #4
L3n1n
A Fallenroot Satyr
 
L3n1n's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 20
Originally Posted by keid View Post
Im using blizzard raid frames.
This solution:

Code:
hooksecurefunc("CompactUnitFrame_UpdateName", function(frame)
	local playerName = GetUnitName(frame.unit, true)

	if playerName then
		_, class = UnitClass(frame.unit)
		if class == "PRIEST" then
			frame.name:SetVertexColor(0, 0, 0)
		end
	end
end)
  Reply With Quote
04-11-21, 02:06 PM   #5
keid
A Defias Bandit
Join Date: Mar 2021
Posts: 3
thank you
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Change color of text - Blizzard Raid frame.

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