View Single Post
06-27-16, 05:44 AM   #3
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
I've been trying to find out how the personal resource display works.

But I just can't find anything to do with the alpha, or on what events it starts fading out
Lua Code:
  1. -- normal
  2. C_NamePlate.GetNamePlateForUnit("player"):GetAlpha() => 0.74901960784314
  3. C_NamePlate.GetNamePlateForUnit("player").UnitFrame:GetAlpha() => 1
  4.  
  5. -- fading out
  6. C_NamePlate.GetNamePlateForUnit("player"):GetAlpha() => 0.37254901960784
  7. C_NamePlate.GetNamePlateForUnit("player").UnitFrame:GetAlpha() => 1