Common Event As Menu Plugin for RPG Maker MV by J0h3l

Common Event As Menu Plugin for RPG Maker MV by J0h3l​

​



Introduction:​

This is a free plugin allows you to call a common event instead of the menu. So the common event will replace the menu, every time the player tries to access the menu, the common event will open.

Screenshots:​

Spoiler
1.png

2.png

3.png

How to Use:​

Just put the ID of the common event.
I recommend to call these scripts:
Spoiler
SoundManager.playOk();
SceneManager.push(Scene_Menu);
In the common event for play menu open sound and open the original menu. (If you want)

Downloads:​


Terms and Conditions:​

More information
overwriting callMenu isn't wise as you could alias it.
also, "var" to a parameters is unnecessary to use.

but I dont see what the exact use is, as you could make a menu command
to a common event easier which is also safer than "callMenu" function.

this could bring more issues later and conflict with the callMenu.

it's nice for a small project that doesn't use much plugin, for not for bigger projects
or project with more than 20 plugins.
overwriting callMenu isn't wise as you could alias it.
also, "var" to a parameters is unnecessary to use.

but I dont see what the exact use is, as you could make a menu command
to a common event easier which is also safer than "callMenu" function.

this could bring more issues later and conflict with the callMenu.

it's nice for a small project that doesn't use much plugin, for not for bigger projects
or project with more than 20 plugins.
@ShadowDragon Hello, my personal project has 82 plugins and many common events in parallel, no issues.
I like to make variables in my codes.

Edit: In my case I use my plugin to add an animation before and after opening the menu (with images)

Thanks for the comment
callMenu is something you cannot touch, but target the
Scene._Menu.prototype.AddMenu Commands to add menu commands.
that common targetting the common event to run when you click on it.

what it does currently, is run a common event when the menu is called
directly, not sure why, as calling the menu and run a common event with
text before accessing the menu in general can be annoying.

that is personal opinion, I like the idea, if there is a specific reason for it to run.
but menu plugins adding command add this feature fairly easy.

the only way I see a nice way for this if aliased on the function is to make
sparkling to open the menu, but the events and stuff need to continue and
not freezing 🙂
callMenu is something you cannot touch, but target the
Scene._Menu.prototype.AddMenu Commands to add menu commands.
that common targetting the common event to run when you click on it.

what it does currently, is run a common event when the menu is called
directly, not sure why, as calling the menu and run a common event with
text before accessing the menu in general can be annoying.

that is personal opinion, I like the idea, if there is a specific reason for it to run.
but menu plugins adding command add this feature fairly easy.

the only way I see a nice way for this if aliased on the function is to make
sparkling to open the menu, but the events and stuff need to continue and
not freezing 🙂
Well, it's supposed this will replace the menu. That's why I cited the commands to open the original menu.

Original thread: https://forums.rpgmakerweb.com/threads/common-event-as-menu-plugin-for-rpg-maker-mv-by-j0h3l.168034/