Status
Not open for further replies.

stramin

Veteran
Veteran
Joined
Nov 4, 2012
Messages
233
Reaction score
98
First Language
spanish
Primarily Uses
N/A
I have some maps where the menu is not enabled (I use the "Change menu access" command for this).

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?
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
596
Reaction score
266
First Language
PT-BR
Primarily Uses
RM2k3
Try:
JavaScript:
$gameSystem._menuEnabled
(Return boolean)
 
Last edited:

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,909
Reaction score
4,831
First Language
EN, FR
Primarily Uses
RMMZ

I've moved this thread to Javascript/Plugin Support[MOVE/]. Please be sure to post your threads in the correct forum next time. Thank you.

 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,529
Reaction score
14,848
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

Playing my game to improve my game. (Totally not procrastinating)
Hope he recovers fast :|
Looks like it's functional:
It's a common thing to forget eating &drinking while you are working concentrated, right?
If I had discovered RPG-Maker before moving together with my girlfriend, I'd have died of dehydration a long time ago.
Ami
trying to change my picture & got screwed up...

Forum statistics

Threads
112,497
Messages
1,068,690
Members
146,167
Latest member
ryweuu
Top