I wondered if anyone had successfully written a script or extended some default actions to close or hide the inventory menu on a scene or camera change.
Maybe even after X seconds of inactivity (mouse not over) the inventory menu?
Thanks in advance
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
See the Manual's "Menu scripting" chapter for details on how to access and control Menus through scripting.
You can hook into events to do react when AC performs common tasks. OnAfterChangeScene and OnSwitchCamera respectively for the first two.
You can learn more about events from this tutorial.
You can read the PlayerMenus component's IsMouseOverMenu() function to determine if the mouse is currently over a menu, and start a timer if not.
Try this: