Eli_QuitMenuCommonEvent

Hs0CPUl.png

Author: Hakuen Studio​

Introduction

You may want to increase a variable or turn on a switch automatically depending on what equipment the actors are using. Or, to do several things like changing the appearance of the character, increase speed, and more.
This plugin allows you to do this check as it allows you to run a common event every time the player exits / closes the menu.

Features

Play a common event on the map scene every time the player closes/exits the menu.

How to use

Just choose your common event Id in the plugin parameters.
Then in the first line of your menu common event, you have to add the plugin command:

MenuCommonEvent

It is not case sensitive.

NOTE: If you use an item inside the menu that also call a common event,
the item's common event will be executed first.


Terms of Use

https://www.hakuenstudio.com/rpg-maker/terms-of-use

Update Log
Spoiler
Version 1.3 - 09/03/2020
- Fixed an issue that prevented the common event from running when an item
called a common event on the menu.
Version 1.2 - 08/22/2020
- Code restructuring.
Version 1.1 - 07/29/2020
- Compatibility with FindIdByName.
Version 1.0 - 10/04/2020
- Plugin release!
Hi, Eliaquim!
Can't he directly call the event? I need it to be able to call an event when exiting the menu, without relying on switches and variables to execute
Hi, Eliaquim!
Can't he directly call the event? I need it to be able to call an event when exiting the menu, without relying on switches and variables to execute
Hmm. I don't get it. Do you mean to call a map event when closes the menu?
Because it's a common event, you can call it normally with an event command, without the need for a switch or variable.
Maybe you can try to explain what you are trying to do? So I can understand better? 🙂
Hmm. I don't get it. Do you mean to call a map event when closes the menu?
Because it's a common event, you can call it normally with an event command, without the need for a switch or variable.
Maybe you can try to explain what you are trying to do? So I can understand better? 🙂
No, it seems that I set it wrong just now, and now it can run very well.
I use it to check the HP of a member! And change the switch according to the situation
very useful! thank you :LZSproud:
No, it seems that I set it wrong just now, and now it can run very well.
I use it to check the HP of a member! And change the switch according to the situation
very useful! thank you :LZSproud:
Ok! Nice to hear that! 🙂
Ok! Nice to hear that! 🙂
thank you very much! If you are free, can PM ask you a few script questions?
thank you very much! If you are free, can PM ask you a few script questions?
Of course! Fell free, I will answer you as soon as I can ^^
Hi! Eliaquim.
I found that using this plugin, the use of items can no longer call events. . .
Hi! Eliaquim.
I found that using this plugin, the use of items can no longer call events. . .
Ok! I will take a look 🙂



Version 1.3 - 09/03/2020
- Fixed an issue that prevented the common event from running when an item called a common event on the menu.
Thanks to! @41728280
Great, you should also state that this plugin requires Eli's_Book
Because it will not pop up a warning like other ELI plug-ins! :LZSrasp:
Oh! I forgot about that. I will put the pop up!

Original thread: https://forums.rpgmakerweb.com/threads/eli_quitmenucommonevent.120000/