Honestly, I don't expect anyone new to have any idea what I'm asking. My guess is someone knowledgeable in RGSS3 could know this down flat. Only it's not a script request.
To put simply, I want to have a tutorial while the menu is open. After researching and finding that there is no such script that can do this I hope such can be achieved using a script call. I plan to have a common event to always be put in parallel process, but the event code is held back by a conditional branch that checks to see when the menu opens.
If you didn't get all of that, I'll get straight to the question. Is there a script call that can be used in the Conditional branch that checks to see when the menu opens, and if there is, what is it?
It won't work that way.
Events only work on map - even the parallel processes are stopped while any other screens are open.
So there is no need to check in a conditional branch if the menu is open, because if the conditional branch is executed at all then the menu cannot be open.
That said, there are two different scripts that might give a solution:
Tsukihime has a scene interpreter script that allows eventing during the menu. If you use that then you have to check his script for conditions, because it depends how that works to get a check for the menu.
And I think I remember someone writing a script for menu or battle tutorials, but I don't remember who or its exact features. It was on this forum, so you have to check the script part of the forum.
So I was thinking along the wrong path all along. 😛
That's fine, I'll take a look at the scripts.
Hime has a Scene Interpreter script which allows the running of the interpreter in the other scenes.
Haven't tried executing extra commands during the menu though, not sure how that will go.
modern algebra has a scene tutorial script.
Google that.
Alright, I've tried using Tsukihime's script. The other script Andar mentioned I couldn't find and Modern Algebra's script is for VX.
What I want to do is just show a few lines of text right after the menu opens (the menu would be opened automatically using events). When Tsukihime's script, I tried opening the menu right after turning on a switch that would operate a parallel process event tagged with the comment call. The menu would open up and the first line of text would appear, after that it just let's the player operate the menu how he wants until the menu closes, then it just shows all the other lines of text after the menu closes... which isn't what I want. I guess this idea itself was a little ambitious to begin with, but seeing how Tsukihime's script worked for at least one line of text probably means I'm getting close.
But I feel like it's probably better to drop the idea better, later in the game when I was playtesting it. The parallel process common event that was meant to work with the script activated randomly during battle even though I already turned off the switch, which was... off...
I've updated the script with some experimental functionality: cross-scene common events.
Video example:
This allows you to have a common event run even if you change between multiple scenes.
Two script calls are available for freezing user input
pause_windowsunpause_windowsThis prevents the user from sending input to the windows if you don't want them to.This is meant to simulate a modal window because when there is text dialogue, you don't want other things to be active, but my implementation is pretty rough.
You can restore and pause input at anytime. I don't know when you might use this but I figured it might be useful to have.
Note that due to the way scene changing works, you cannot call "pause_windows" immediately after changing scenes. You need to either put a wait command before pausing the windows, or put the script call after your first show text. Have not found how to address this issue, but this is only an issue if you are trying to pause windows immediately.
See if that works.
Use the "call common event" command to invoke your common event. It does not need to be parallel.
Wow, I'll admit and say I had my doubts the second time, but it worked!
I can't thank you enough for going through this trouble Tsukihime. I guess this thread is solved.
After trying to put together this video, I ran into bugs and fixed them.
I did notice the game crashing for unknown reasons though (RGSS Player has stopped working)