Hello guys
Im trying to make a macro for hiding/showing some of my bars in bartender when i sheathe/unsheathe my weapon, i tried to create a macro from the conditional visibility tab in bartender but i guess its only possible with a macro so i hope you can help me
I would really like to hide all my bar from the bar 1 to 6 if its possible
Tyvm
edit
So i tried to use multiple macros to trigger the appearance of my ui but i did not manage to find a command which detect when my weapon is sheathed or unshethed
i tried this :
on btn109
/script if (BT4Bar1:IsShown()) then BT4Bar1:Hide() else BT4Bar1:Show() end
/script if (BT4Bar2:IsShown()) then BT4Bar2:Hide() else BT4Bar2:Show() end
/script if (BT4Bar3:IsShown()) then BT4Bar3:Hide() else BT4Bar3:Show() end
on btn115
/script if (BT4Bar4:IsShown()) then BT4Bar4:Hide() else BT4Bar4:Show() end
/script if (BT4Bar5:IsShown()) then BT4Bar5:Hide() else BT4Bar5:Show() end
/script if (BT4Bar6:IsShown()) then BT4Bar6:Hide() else BT4Bar6:Show() end
then a macro to trigger both button
/click BT4Button109
/click BT4Button115
I tried a few things like
/run if GetSheathState()==2 then click BT4Button109
or the command (isSheathed) or togglesheath … nothing seemed to work…