View Single Post
04/26/14, 10:13 AM   #14
Biki
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 34
Ok so I've tested a little more, seeing I also like the non-glossy version

Lua Code:
  1. ZO_PlayerAttributeHealthBarLeftGloss:SetHidden(true)
  2.   ZO_PlayerAttributeHealthBarLeftGloss:SetDimensions(0, 0)
  3.   ZO_PlayerAttributeHealthBarLeftGloss:SetDimensionConstraints(0, 0, 0, 0)
  4.   ZO_PlayerAttributeHealthBarRightGloss:SetHidden(true)
  5.   ZO_PlayerAttributeHealthBarRightGloss:SetDimensions(0, 0)
  6.   ZO_PlayerAttributeHealthBarRightGloss:SetDimensionConstraints(0, 0, 0, 0)

Seems to work and only gets called once. It avoids the re-showing problem by just setting the dimensions of the glow to 0 width and 0 height.
  Reply With Quote