View Single Post
04/26/14, 10:24 AM   #15
myslex
Join Date: Apr 2014
Posts: 22
Originally Posted by Fathis Ules View Post
your hook probably not registered , try to debug with adding d("text") inside the functions
You were right, I did as you instructed and and its working again. Thank you!

Originally Posted by Biki View Post
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.
THIS!!!!!!! exactly what I wanted. Minimal testing is pointing towards success, I will do more extensive testing and post back here..

Thank you all so much for helping me. Been annoyed the whole day! LOL!
  Reply With Quote