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

Zergmar

Villager
Member
Joined
Apr 20, 2013
Messages
5
Reaction score
1
First Language
Polish
Primarily Uses
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
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
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)
 

Zergmar

Villager
Member
Joined
Apr 20, 2013
Messages
5
Reaction score
1
First Language
Polish
Primarily Uses
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.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
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...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
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...
 
Last edited by a moderator:

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
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.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
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...
 
Last edited by a moderator:

Zergmar

Villager
Member
Joined
Apr 20, 2013
Messages
5
Reaction score
1
First Language
Polish
Primarily Uses
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.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
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
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
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.
 

Zergmar

Villager
Member
Joined
Apr 20, 2013
Messages
5
Reaction score
1
First Language
Polish
Primarily Uses
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top