Hello all guys I was working on a prototype menu that I run via multiple MOG plug-ins ( scene_menu, Item_menu etc).
I am looking for information of how I can play a video of a handful of seconds before said game menu opens.
I have an inkling you have to create a series of switches and a common event, but I actually have no idea how I can proceed**
Could someone please explain to me how to arrive at a solution?
The logic should be as follows:
-If I press the X button ( Button to open the game menu).
-Play the video
-Attend 1 frame
- open game menu
If it was so easy to communicate with RPG maker I would keep testing but I prefer to ask you first!!!
Thank you very much.
Hi, thank you very much for your reply, maybe I expressed myself wrongly, I am not talking about the main menu, but the game menu, that is, the one you use to use objects and change character parameters.
In that case you first disable the normal menu access at the start of the game (this is a plugin command)
Then you bind a common event to the menu key itself and in said common event, you run whatever imagery you want, THEN you display the menu with "open menu screen" which is also a plugin command.
What BK said. I'd recommend Yanfly's Button Common Events to help handle the input.
I would like to apologize if I am not understanding something, I am not super skilled with common RPG Maker events. :troll:
Good morning BK, Turan, I will try what you explained yesterday.
I thank you for the support, can I write back to you in case I have any difficulties?
good morning, as suggested I have installed yep button common event and proceeded as follows:
1. I haveOpen an event in the current map to disable access to the menu.
2. I created a common event to read the video and open the menu.
Then I parameterized the Yep button common event by assigning the "X" to the common event.
What do I do wrong^?? because it still doesn't work....
Again thank you very much for your support 😠
Your middle screenshot is not good - you should never:
1 - have an autorun or parallel event that doesn't have a way to turn off
2 - have a parallel event without a Wait command on it
unless you know what you're doing
You should put a Control Self Switch command at the bottom, then make a page 2 with a condition of that self switch and nothing else.
Thanks for the tips Turan, you are nice to answer,
I am very poor in event programming, but I count later on deepen the topic with some explanatory videos..
so is it right? in any case it blocks my X button but when I press it, it behaves as if the common event is not connected, ( nothing happens basically) not reading the video and not opening later the menu.
I'm not sure what to say, it looks good to me.
What have you done to troubleshoot?
Have you put an event on the map you can talk to, and it calls common event 11? Just to see if it works by itself?
Have you tried it without the video, just to see if pressing X to open the menu will work?
Do you have other Yanfly plugins installed? You need to make sure they're in the order listed on the Yanfly Engine Web site or random things will go wrong.
I tried to create an actionable event with the action key, the video and menu open from the common event...
Regarding the plug-in order, normally I have run it previously to display a collected map with the "M" key and it seems to work...do you think it is the order of the plug ins that is the problem anyway?