Hello,
I use
1. Action.HideInventoryButton
2. Action.ShowInventoryButton.
Is there possible "show if"?
I mean, I get an item. Inventory button shows. Then by right-click I jump to the custom menu, where inventory button shouldn't appear. OK, I hide it by first command. When I leave menu and return to the game, I display button by the second command. But...
The problem is, when I haven't got any item. Then I jump to custom menu and leave it - and then inventory button appears, although inventory is empty. It's annoying...
I need some script, which shows inventory button, but only if the inventory isn't empty...