View Single Post
04/01/20, 06:41 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
At this line the attribute bars are build:
https://github.com/esoui/esoui/blob/...ebars.lua#L452

The class ZO_UnitAttributeVisualizerplayer (defined here: ) will later take the control with the variable "healthControl" to apply the glow etc.

The global variable for the attribute bars is PLAYER_ATTRIBUTE_BARS, defined here
https://github.com/esoui/esoui/blob/...ebars.lua#L714

So you can get the healthControl of the global var like this:
Lua Code:
  1. local healthControl = GetControl(PLAYER_ATTRIBUTE_BARS, "Health")

Maybe you can then check the child controls of the healthControl (e.g. via the addons zgoo or merTorchbug to get a list of functions, attributes and childs) and there exists one with the name Glow somewhere, which you can try to assign to a variable and use glowControl:SetHidden(true)
  Reply With Quote