Hi,
I want to be able to open and close my inventory by clicking on my bag in the corner of the screen (part of the UI). Is there a way to use AC to do that?
i don’t know which screenshots to provide. If you need any, let me know which windows specifically and I will provide.
thanks
Comments
is this bag inside of a AC's menu?
You can call an action list when button is clicked if you select Click type and choose Run action list. Then create and link an action list to it.
In the action list it's under Action type: Menu - Change state, where you can turn on / turn off a specific menu.
Or you can do it via script as well:
To open a specific menu
To close a specific menu
AC.PlayerMenus.GetMenuWithName("name").TurnOff(true);
If you need to check if the menu is currently opened you can use this:
Returns true if menu is on.
ok I found out how, turns out it's during gameplay appear type (I thought it didn't work but it turns out I had to put the bag texture in the background not highlight section oups)