NamePlate Background Opacity - WoWInterface
Thread Tools Display Modes
04-22-21, 05:28 PM   #1
A Black Drake
rulezyx's Avatar
Join Date: Jan 2020
Posts: 88
NamePlate Background Opacity


I changed my blizz nameplates like most of my UI with texture replacements but I cant change anything related to the nameplate-background this way.

Basically I want to lower the alpha/opacity of the nameplate health and its castbar background but without replacing the default nameplates.

I was searching for a code for similar changes but I couldn't find anything related.

If someone has an idea or code to share I would really appreciate it.

Blizz code: https://github.com/tomrus88/Blizzard....xml#L151-L154

Last edited by rulezyx : 04-23-21 at 10:17 AM.
  Reply With Quote
04-25-21, 12:56 PM   #2
A Black Drake
rulezyx's Avatar
Join Date: Jan 2020
Posts: 88
I now use this code to change the background alpha/color for the nameplate health and castbar:

hooksecurefunc("CompactUnitFrame_UpdateHealthColor", function(frame)
	if not strfind(frame.unit, "nameplate") then return end

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

WoWInterface » Developer Discussions » Lua/XML Help » NamePlate Background Opacity

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