Parallel Process with "Wait" = my character doesn't move

I got no idea what I'm doing wrong, I got a parallel process which has a Wait in the middle. According to the tooltip "Wait" doesn't block the character from moving while it goes in a parallel process. However, it does block movement input for the duration. WTF? Screenshot in the attachment below

RESOLVED:

You should never call a parallel process from a skill.

Have the skill call a common event that only contains the line "control switch morhed = ON".

The parallel process NEEDs the OFF-line at the end to disable itself, or it will run indefinitely.
^This wasn't anywhere near intuitive to me (just a hint for the developers)

movementstuck.png

morphspell.png
well yes, waits doesn't interfere if on parallel proc... How about the event where you initially set MORPHED = true? can you post a screenshot of it?

Because if you only set MORPHED to true in that parallel process event, then there's no way that it would run (so actually, that MORPHED=true at the top is quite useless because MORPHED should be true before that parallel process even runs)
I don't quite understand what you're saying, this event does run from another process, everything happens as it should except for the "Wait" part where the character should be able to move but it doesn't.
that is why I'm asking you to post a screenshot of that event... because theoretically, there should be no problem in a parallel process CE that uses waits... so the problem could be on that other event or at least triggered by that other event...
I don't quite understand what you're saying, this event does run from another process, everything happens as it should except for the "Wait" part where the character should be able to move but it doesn't.
How does the other process call this event?

If you did it correctly, the other process will use "control switch Morphed = ON" to activate this event. If that other process uses a "call common event", then that other process is doing it in a way different that it's intended to work.

In a parallel process, the switch is intended to activate or deactivate the common event - and since the event only runs when the switch is turned ON, turning it ON a second time in the first line is not neccessary.

Edit:

And if the other event uses a call common event to activate this, then you got it into the wrong stack because a call always needs to abort and return to the other event - if for example an autorun uses a call common event to get to this code, then that autorun will block player input until the return to the call happens - after the wait is processed...
The common event can only run if your switch MORPHED is already turned on, so it's useless to turn it on again in the common event itself. Remove that useless line.


That said, we need to see a screenshot of your event that turns this switch on. Please show the entire window, including all of its event pages.
If you did it correctly, the other process will use "control switch Morphed = ON" to activate this event. If that other process uses a "call common event", then that other process is doing it in a way different that it's intended to work.
Oh yes... If you run it using Call Common Event rather than setting MORPHED to true, then it might be causing the error, because by then the game might be running it off as a normal Common Event rather than Parallel process which makes the Wait actually interfere with the game...
I updated the initial post with the screenshot, the event is called from a character's skill.

PS. I removed the ON/OFF lines as I noticed it doesn't change anything anyway.
that's your problem... it makes it run as a normal event... they aren't meant to be called via Call Common Event or run via Skills... Autorun and parallel Common events are meant to be run by turning the switch on/off...

you need to make another common event which turns MORPH = ON and make your skill use that CE... and don't forget to re-add the MORPH=OFF at the end of the morph Common event
I updated the initial post with the screenshot, the event is called from a character's skill.

PS. I removed the ON/OFF lines as I noticed it doesn't change anything anyway.
You should never call a parallel process from a skill.

Have the skill call a common event that only contains the line "control switch morhed = ON".

The parallel process NEEDs the OFF-line at the end to disable itself, or it will run indefinitely.

Only the ON-Line was wrong.
Ok, thanks for the replies, hope I get this sorted. I might be dumb, but as for me I don't see the editor explain itself well on that matter.

Original thread: https://forums.rpgmakerweb.com/threads/parallel-process-with-wait-my-character-doesnt-move.19202/