Originally Posted by Tuller
No, that requires a keypress.
Code:
if UnitHealth("player")/UnitHealthMax("player") <= 95 then
bar:Show()
elseif not bar:IsShown() then
bar:Hide()
end
You're saying, "If the bar is hidden, then hide the bar."
Hide the bar by default using /bob hide <barnumber>, or make the script run at load.
|
I have attached an image to display the latest setting for this bar. Which still never hides.