Eli_QuitMenuCommonEvent

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,776
Reaction score
1,197
First Language
Portuguese - Br
Primarily Uses
RMMZ

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
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!
 
Last edited:

41728280

Veteran
Veteran
Joined
May 31, 2020
Messages
238
Reaction score
72
First Language
Chinese
Primarily Uses
RMMV
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
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,776
Reaction score
1,197
First Language
Portuguese - Br
Primarily Uses
RMMZ
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? :)
 

41728280

Veteran
Veteran
Joined
May 31, 2020
Messages
238
Reaction score
72
First Language
Chinese
Primarily Uses
RMMV
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:
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,776
Reaction score
1,197
First Language
Portuguese - Br
Primarily Uses
RMMZ
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! :)
 

41728280

Veteran
Veteran
Joined
May 31, 2020
Messages
238
Reaction score
72
First Language
Chinese
Primarily Uses
RMMV
Hi! Eliaquim.
I found that using this plugin, the use of items can no longer call events. . .
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,776
Reaction score
1,197
First Language
Portuguese - Br
Primarily Uses
RMMZ
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
 
Last edited:

41728280

Veteran
Veteran
Joined
May 31, 2020
Messages
238
Reaction score
72
First Language
Chinese
Primarily Uses
RMMV
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:
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,776
Reaction score
1,197
First Language
Portuguese - Br
Primarily Uses
RMMZ
Oh! I forgot about that. I will put the pop up!
 

Latest Threads

Latest Posts

Latest Profile Posts

Is this Profile Banner thing new? Or did I just discovered it now?
Well.. I was going to post my randomly generated road experiments... But the new "Attach Files" on profile posts seems to be quite buggy. Also there's no more option to insert Imgur images. Highly unfortunate. Guess I'll give them a bit to fix it and go back to messing with stuff.
my first day back to working on my project and i'm pooped!! hope to get back in the rhythm soon!

Forum statistics

Threads
107,593
Messages
1,030,813
Members
139,699
Latest member
danysanca
Top