View Single Post
04-25-21, 12:56 PM   #2
rulezyx
A Flamescale Wyrmkin
 
rulezyx's Avatar
Join Date: Jan 2020
Posts: 106
I now use this code to change the background alpha/color for the nameplate health and castbar:

Code:
hooksecurefunc("CompactUnitFrame_UpdateHealthColor", function(frame)
	if not strfind(frame.unit, "nameplate") then return end
	frame.healthBar.background:SetAlpha(0.5)
	frame.healthBar.background:SetVertexColor(0,0,0)
	frame.castBar.background:SetAlpha(0.5)
	frame.castBar.background:SetVertexColor(0,0,0)
end)

Last edited by rulezyx : 04-25-21 at 01:10 PM.
  Reply With Quote