Original Source
- Original title: MZ How to add a scene cancel event to a custom menu entry?
- Original author: darthmarth
- Original date: November 3, 2024
- Source thread: https://forums.rpgmakerweb.com/threads/how-to-add-a-scene-cancel-event-to-a-custom-menu-entry.173011/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support
Summary
I'm using the Visustella main menu core to add a menu entry for a lore book page (using Taaspider's lore book menu plugin at https://taaspider.itch.io/taa-bookmenu). I've gotten mostly everything to work out the way I need to, but I have one little issue left. When you access most menu scenes (equip, items, whatever), cancelling that scene takes you to the main menu, rather than backing out of all menus and bringing the player back to the map. The way I have my menu configured, I can't figure out how to...
Archived First Post
During a previous attempt, I was using the Visustella common event menu plugin (http://www.yanfly.moe/wiki/Common_Event_Menu_VisuStella_MZ), which has a feature for a "cancel event." This let me reopen the main menu again when cancelling the custom common event menu. Is there any good way to add a similar cancellation event to one of the main menu entries from within the plugin itself, maybe by adding some JavaScript? Otherwise my plan is to try I using an event loop within the common event below like this page suggests (tutorial for an event-based picture menu), but it would be nicer just to call the menu back with a common event or something like that. Here's how I have my event configured in the VisuStella plugin. It just calls on a common event which opens the Taaspider scene. Any help would be appreciated!
Here's the common event. Basically just a quick script command I got from Taaspider's instructions.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...