じ☆ve冰风 发表于 2026-7-27 21:21:15

Eli_QuitMenuCommonEvent


https://i.imgur.com/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

DOWNLOAD
Eli_QuitMenuCommonEvent.js

Update Log
SpoilerVersion 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!






本贴来自国际rpgmaker官方论坛作者:Eliaquim处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/eli_quitmenucommonevent.120000/
页: [1]
查看完整版本: Eli_QuitMenuCommonEvent