Stopping a parallel event before completion?

I'm running into an odd problem where I have a parallel event that I'm trying to end but it simply...won't.


I'm making sure to turn off the switch that triggers it, as well as using the "Exit Event Processing" command, but if I attempt to use it again, I find that it's still running when I need it to start over at the beginning.


Any idea how I would fix this?
maybe you saved the game after trying it the first time so it's still on ? try doing new game
if not try making a conditional brench for it to activate or to make it stop in the middle of it's work
When asking for help with events, it always helps to post screenshots of the entire event - including the areas that show event id, trigger, etc, as well as each page.
can you show us the setup of your event?
Parallel process events loop by default.


Exit Event Processing does NOT exit the event processing.  It simply moves the pointer to the current command right to the bottom of the list.


Therefore Exit Event Processing on a parallel process event will simply make it jump to the bottom of the event, which will cause it to start over again.


That's just an explanation to show that Exit Event Processing doesn't 'stop' a parallel process event.  But as the others have said, we really need to see a screenshot to know exactly what's going on.  Using Alt+PrintScreen to take a screenshot will ensure you include everything we might need to see (for that event) without the rest of the desktop background which would make it too small to comfortably read.
To preface, this is a children's book with multiple options at the main menu, one of those being to have the book narrated to you from start to finish.


I do this by making the readthrough option a parallel event because there's no easy way to pause it otherwise. I'm using Yanfly's Picture Common Events, which is necessary since this will be running primarily on tablet devices.


Right now, I have two problems:


1. If I pause the readthrough part way and return to the title menu, if I then attempt to start another readthrough, it begins part way through the book instead of at the beginning, even if I use the "Exit Event Processing" command and turn off the switch that activates it.


2. Once the readthrough reaches the end of the book, I instruct it to return to the title menu, but it's currently just going to a blank screen.


Here's how I have it starting:


readthrough_start.png


And here's how I have it ending:


readthrough_end.pngreadthrough_end.png


I'm thinking now that a better alternative to the issue might just be to alter how the game pauses, having it check every frame to see if the touchscreen is being triggered anywhere and to just have it pause if that happens...


I would still like to know how to ensure a parallel process is shut off for good, though, as that may be an issue again later.
So your menu is evented, rather than using the real title screen to start a new game?  Any reason for that?


I don't see your Exit Event Processing commands in those screenshots (given, it's a big event).  Could it be that you just need to reset some variables so it starts at the right place?
So your menu is evented, rather than using the real title screen to start a new game?  Any reason for that?



To create a menu of touchscreen buttons which would be more touch-friendly than the default menu (also I don't need any of the options it offers).


And I think I figured it out: I was telling it to run the main menu before it actually reached the end of the event. Fixing that helped, going to see if I can still use a parallel event...


Thanks all! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/stopping-a-parallel-event-before-completion.72904/