I have some maps where the menu is not enabled (I use the "Change menu access" command for this).
I recently made some menus accessible by keys (for example, pressing M key opens the map, pressing I key opens the inventory), now I would like to avoid this behavior when the menu is disabled, for this I need to know when the menu is enabled.
how to know when the menu is enabled?
JavaScript:
$gameSystem.disableMenu();
I recently made some menus accessible by keys (for example, pressing M key opens the map, pressing I key opens the inventory), now I would like to avoid this behavior when the menu is disabled, for this I need to know when the menu is enabled.
how to know when the menu is enabled?