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
567
Reaction score
244
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,905
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,490
Reaction score
14,818
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 Posts

Latest Profile Posts

Phew! logged back. Seems I was too occupied with 3D learning (yeah for RPGM purposes) creating IRL space, trying to grow catnip, dealing with health and DC is good. (so MrC) ^^
Currently trying to add items in the same style as Kyrise's excellent icons. I like having a large variety of items :3 KyriseandMe.PNG
Create MiniMaps, Sprites for MV Enemies, & Aethereal Plane Battlebacks | RPG Maker News #74

Vtubers Vs MOTHER.png

This might be my next project. You like it?
I'm off to search the master script list for my skill issue. HOORAY! FUN!

Forum statistics

Threads
112,328
Messages
1,067,417
Members
145,966
Latest member
Ziaz82
Top