Originally Posted by Biki
Lua Code:
ZO_PlayerAttributeHealthBarLeftGloss:SetHandler("OnUpdate", function() ZO_PlayerAttributeHealthBarLeftGloss:SetHidden(true) end) ZO_PlayerAttributeHealthBarRightGloss:SetHandler("OnUpdate", function() ZO_PlayerAttributeHealthBarRightGloss:SetHidden(true) end)
Will work too, quick and dirty. Just tested it. But there might be more performant options available.
|
Oh this is progress!
Allthough im ashamed to admit, i am allergic to 'onupdate' functions that run continuesly. As you said, im a performance junkie.. All addons Im using / have written are triggered on events..
Small update to my problem..
It would seem my problem is directly related to the
ZO_PlayerAttributeHealth.playerAttributeBarObject.timeline:GetAnimation() ..
|
the animation is running when engaging in combat, aswell as when using an 'power up' ability such as increase armor buff..
If only there was a way to remove an existing animation................
MSLex