The unstoppable parallel process

Hello to everyone.

So, I have a parallel process whose only condition is that the value of the variable (let's call it V) must be 0 or above. At the end of the parallel process, i have put, in the following order, these actions:

- Transfer player in a different map.

- Exit event processing.

- Control variables: [V=-1]

In this way, I was sure the parallel process would have closed, but when the player is transferred in the second map, I cannot move nor open the menu. 

I tried to set the initial player position directly in the second map, so that the parallel process event does not activate, and in that way I can move and open the menu.

Can you help me? Thanks in advance.
There may be something else in your parallel event that is preventing the game from progressing.

Perhaps you can try changing your condition to use Switches or Self-Switches instead of variables?

If the freeze still occurs, please post a screenshot showing the contents of your entire parallel process.
Thank you, I'll try tomorrow 🙂
I tested it myself and that event doesn't affect the player in the new map. Chances are there's another event on the new map that's stopping the player from moving. Try transferring him to a blank new map and see if the problem persists.

There are a few problems with your very simple event though. The order in which you placed them makes it so that it doesn't function how you want it to. Events will run through the whole list of commands no matter where the player is, so the following will work as such:

- Transfer player in a different map. (The player is transferred to a different map as intended)

- Exit event processing. (the event will stop itself from processing the rest of the commands)

- Control variables: [V=-1] (this will not happen because you told the event to stop processing)

This means your variable will still be above 0 when you're in the new map.

The appropriate way of doing this event would be in this order:

- Control variables: [V=-1]

- Transfer player in a different map.

Here it will change the variable to -1, but continue through the rest of the commands, so it will transfer the player. Once the player has transferred, the event will not loop over itself because it's not present in the current map.
To add to that, exit event processing only stops the current processing - and both autoruns and parallel processes are restarted sixty times per second as long as their conditions are met.
Show a screenshot of the event please, don't just describe it. I can see right there that you tell the event to exit (jump to end of command list) BEFORE you set the variable, so the variable is never going to change. But sometimes it might not be that obvious, and people really want to see your WHOLE event - conditions, triggers, tabs, the lot.
Transfer player in a different map.


- Exit event processing.


- Control variables: [V=-1]


-> Your event doesn't reach the control variable part since you used exit processing before it...
Screen.PNGHere is the whole event. Sorry if it is so long. I have deleted the content of the messages just to avoid... spoilers  :troll:
Unfortunately, that picture is unreadably.


Please, a single picture for each event page as otherwise the forum software resizes and makes it unreadable.
Here they are, I hope they will be readable.

Screenshot_2015-1-26 14.29.57.png

Screenshot_2015-1-26 14.28.28.png

Screenshot_2015-1-26 14.28.51.png

Screenshot_2015-1-26 14.29.4.png

Screenshot_2015-1-26 14.29.15.png

Screenshot_2015-1-26 14.29.27.png

Screenshot_2015-1-26 14.29.42.png
You are still changing the variable AFTER you exit event processing. What are you planning for this to do???

(It won't do it)

(first page)

Wouldn't your life be easier just to set a self-switch and go to another page after you do all  your stuff?

Do you really need the variable to change?
Event processing is ended before the variable is set to -1 for one thing. Does the transfer keep the player on the same map or put him on a different map? If it moves him to a different one are there any parallel or auto run events on the new map?

EDIT: Got ninja'd here.
@Neon Black: the player is correctly transferred, but in the new map there are only events activated by action button.
Tokumei, you are not quite getting the importance of ending your parallel process.

Try setting a self switch at the end, and having a second page with the condition of self-switch a= on.

May I humbly suggest that you read over three posts linked in my signature:

Andars , My list of beginner's tutorials, and Aindra's school on events?

And check out the description of event triggers and event pages in there. 
Updated event. I does not stille work.

Screenshot_2015-1-26 15.27.51.png

Screenshot_2015-1-26 15.27.40.png
Tokumei, are you using some custom scripts? I noticed that you're using some control switch commands in your parallel process.

You mentioned that the game doesn't run correctly if it runs from the first map, but runs well when the game starts directly from the second map.

This indicates that there is something wrong with your parallel process.

[SIZE=13.63636302948px]Maybe you can post a link to a reduced format of your project containing your parallel process so that we can find out what is wrong?[/SIZE]
I have not edited the scripts, also because I am using the Lite version. The whole parallela process event is posted some replies before, and the only difference is in the last actions.
And do change the trigger for the second page to "action button", just for good form.

and BTW you can  still not move, but you can also still not open the menu either? (just being sure)

We'll get you fixed up!
Already tried that: first, I set the second page triggering to action button, but it didn't work
I did read through the parallel process event that you posted, all seven pages plus the two new ones that you posted.

I can see that you are using control switches for something. They might just be causing the problem as well.

At this point, we're mostly just guessing here.

[SIZE=13.63636302948px]I would like to help you, but I can't see from here what the problem may be, it would take a lot of my time to recreate your entire event, and there may just be something else other than the parallel process itself interfering with your game from the map. I have to move the event contents around to see what is causing the problem. That's why I ask for a link to your project. You can PM me if you feel uncomfortable posting it here.[/SIZE]

Original thread: https://forums.rpgmakerweb.com/threads/the-unstoppable-parallel-process.36278/