I need a script that can make a message box pop up on the main menu in the game so that I can make a tutorial. I talked to someone about it and they said I would need a script that let me use custom scripts on menus. If you have one that i could use that would be nice.
MZ use custom scripts on menus
JS Plugin RequestsThis reminded me of the Super Mario RPG: Legend of the Seven Stars game, that the initial tutorial controlled the menu and the battle alone, pointing out each location the player should go to.
But I assume that you just want something simpler.
One question, should the tutorial be seen only once at the beginning of the game, or should it be for each time you select some part of the menu?
But I assume that you just want something simpler.
One question, should the tutorial be seen only once at the beginning of the game, or should it be for each time you select some part of the menu?
there are two ways to handle tutorials in the menu like you describe, and they both have their advantages and disadvantages.
what you describe is usually called a "menu interpreter" or similar and used to execute event commands while being in the menu. By default only the map and the battlescreen have interpreters to handle event commands, that is why the use of an item with a common event attached causes the menu to be closed before the common event can be executed on the map.
the problem with this is that it still has problems triggering the events. you can get tricky by forcing a sequence assigned there, but usually that is not ideal for learning.
The other way would basically require a rewrite of the menu to enable control of what the player can do and what will happen then. This would allow complete tutorials to handle the menu - but that is much more complex to program.
what you describe is usually called a "menu interpreter" or similar and used to execute event commands while being in the menu. By default only the map and the battlescreen have interpreters to handle event commands, that is why the use of an item with a common event attached causes the menu to be closed before the common event can be executed on the map.
the problem with this is that it still has problems triggering the events. you can get tricky by forcing a sequence assigned there, but usually that is not ideal for learning.
The other way would basically require a rewrite of the menu to enable control of what the player can do and what will happen then. This would allow complete tutorials to handle the menu - but that is much more complex to program.
Once at the beginning of the game and once during the first battle sequence
Yea that's why I was hoping there was something already out there
I see no need for double posting.
About your doubt, I would do everything with Pictures, simulating the menu and the battle, but maybe it will take too much time:
Youtube: RPG Maker MV Tutorial #30 - Pictures
Perhaps this method will help you:
forums.rpgmakerweb.com
Good luck
About your doubt, I would do everything with Pictures, simulating the menu and the battle, but maybe it will take too much time:
Youtube: RPG Maker MV Tutorial #30 - Pictures
Perhaps this method will help you:
Simulate Button Press.
I am trying to find a way to have a comment event simulate pressing buttons. I am using VS Picture COmmen Event plugin and working towards a gamepad style layout and have some events that require specific buttons and wanted to mimic it with pictures.
forums.rpgmakerweb.com
Good luck
I'll check it out I dunno
Edit: thing is that's not what I want to do and I tried the picture route and it was boring I'll keep looking and see if I can find anything
Edit: thing is that's not what I want to do and I tried the picture route and it was boring I'll keep looking and see if I can find anything
I used the Input.virtualKey method combined with this and it worked:
www.w3schools.com
Example:
The only problem is that if you take the focus out of the game window it can cause a conflict, as the game is on standby.
There is a command that checks whether the game is stopped or not, but I don't remember it at the moment.
Window setTimeout() Method
Use clearTimeout(myTimeout) to prevent myGreeting from running.
Example:
JavaScript:
setTimeout(function(){Input.virtualClick('escape')},1000);
setTimeout(function(){Input.virtualClick('down')},1500);
setTimeout(function(){Input.virtualClick('ok')},2000);
The only problem is that if you take the focus out of the game window it can cause a conflict, as the game is on standby.
There is a command that checks whether the game is stopped or not, but I don't remember it at the moment.
Does it do it for the menu commands i.e "items"
There is no need to replicate my entire answer, as it is the only one above yours ...
With this you can preset everything that the menu will do in the tutorial.
Good luck
With this you can preset everything that the menu will do in the tutorial.
Good luck
@Dev_With_Coffee can you show me how I would replicate that with the menu buttons or point me in a direction to it? Like I'd only need an example with one button and could figure the rest out
Example: access the main menu and go to option 2.
Today I have no way, but then I can explain how to do it with Parallax or Pictures.
Gook luck
Code:
◆Change Menu Access:Disable
◆Script:setTimeout(function(){Input.virtualClick('down')},1000);
: :setTimeout(function(){Input.virtualClick('ok')},1200);
◆Open Menu Screen
Today I have no way, but then I can explain how to do it with Parallax or Pictures.
Gook luck
okay so that worked, now how do i script in text? Because this is really useful thank you! edit i'll ask in another thread this is not the place but thank you for the beginning of this you don't know how much that this helped.
Sorry, what do you mean "Script" in text? Do you want the dialog to appear in front of the menu?
I think it's a lot of work for something like that, I think it would really be better to do it with Pictures.
Good luck
I think it's a lot of work for something like that, I think it would really be better to do it with Pictures.
Good luck
@Dev_With_Coffee that's what I want and I want the do the work can you send me a message later when you can teach me how to do it?
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/use-custom-scripts-on-menus.136775/