[SOLVED] Killing a Parallel Process to start another

How do I kill a parallel process to start another over that one?

To put in context, I'm making a menu by events and it works fine. In certain option, you click "Ok" to select and it brings a new window. But I have to "stop" the previous parallel process so this new window works properly. The switch of the 1st event is turned off, but the event keeps running. When I use pg up and pg down, in the second menu, it calls the functions of the 1st menu as it is still running, causing big behavior problems.
When you say "the switch of the first event is turned off" can you show me how precisely you're doing that?
When you say "the switch of the first event is turned off" can you show me how precisely you're doing that?
Sure.

After "confirm" is pressed, I call a switch to the new parallel event.

In this new parallel event, I switch off the previous one.

And by doing so the previous event keeps running.... (my RPG make is not in English).
Sure.

After "confirm" is pressed, I call a switch to the new parallel event.

In this new parallel event, I switch off the previous one.

And by doing so the previous event keeps running.... (my RPG make is not in English).
Can you show me screenshots?
After "confirm" is pressed, I call a switch to the new parallel event.
Why not also switch off the previous event in the same confirm command?
Sorry about the Portuguese:

Here is me, switching off the events upon "confirm":



Here is the beginning of the new parallel event:

(also switching off the previous events)

I also checked and the Switches are indeed off. But the process are still running.



Here is a short video. The 1st time I open the menu normally. The second time I press "Pg up" to show the bad behavior:

Try putting an "exit event processing" command after you turn the switches off.
The problem is that actually there are 2 main events running before the "board" event appears.

1 Event for the diary, 2 for the page to access the board, then 3 the event for the board.

It means that I can kill the event 2, but not the event 1.

I tried "exit event processing" and it is still the same.
Try putting an "exit event processing" command after you turn the switches off.

Oh, one thing. The 1st event is not parallel. It is "Autorun".
Oh, one thing. The 1st event is not parallel. It is "Autorun".
For the purposes of end event processing, that shouldn't matter.
I just got it. I created a condition that fully terminates the previous events and after that opens the Board Menu. Not only switches turning off, but if a condition is matched, the board is open.

Original thread: https://forums.rpgmakerweb.com/threads/solved-killing-a-parallel-process-to-start-another.167740/