'Wait' in Common Events

Hellooo I've had rmvx ace for a while now and have been playing with it but I've run into a problem which I can't find a solution to anywhere and I hope someone here knows a solution or work around or something... basically:

I have a skill that's usable on the map that calls a common event. It's set to trigger: none; 

Turns on Switch 1: "Hidden"

then call common event 2;

common event 2: trigger: Parallel Process, Condition Switch; "Hidden"  

and that is set to wait 5 seconds and then turn "Hidden" Off.

Meanwhile I have another event, a guard who is set to look at you as long as your visible (As a parallel process on it's event page), if you use the skill and turn "Hidden" on, the guard looks in a random direction every couple of seconds until "Hidden" is off. 

The problem I'm having is using the "Wait" function in parallel process is making the player wait as well. The guard will look around, and other events will even be moving but the player is stuck. Which is really odd to me because if I copy and paste the events from the common events into an event on the map and make the event run as a parallel process I'm able to walk around just fine while "hidden" and the guard is looking around, the only problem with that is for every map I'd need that event tucked into the corner somewhere and that seems a bit tedious and redundant so I'm hoping it's just something stupid I'm doing and not a quirk of the program.

any help is appreciated ^ ^
The problem I'm having is using the "Wait" function in parallel process is making the player wait as well.
Nope - that can't be happening unless the default engine got changed or broken.
Either you've set it to autorun (which blocks the player) or you added scripts that damaged the parallel process behaviour.


It might also be that you made some logic error with loops - please post screenshots of your common events if you want a more detailed help.
The only way a wait command affects the player in a parallel process events, is if it's done from the Set Move Route command. Otherwise, the problem lies elsewhere. Either that, or as Andar said, you added scripts that damaged the parallel process behaviour.
Turns on Switch 1: "Hidden"
then call common event 2;
Are you using the "Call common event" command to call event 2?

If event 2 is a parallel process, I think you shouldn't do that. Just remove that call and the code should work.
Thanks guys... oddly enough just deleting 'call common event#2' was all that was needed

Apparently just turning ON the switch in common event 1 needed as a condition switch for common event 2 is enough to activate common event 2 and doesn't paralyze the hero while it's 'waiting' to turn off. ^ ^
call common event can only call CE's that have no trigger. Because if a CE has a trigger, it doesn't need calling anymore.
Thanks guys... oddly enough just deleting 'call common event#2' was all that was needed

Apparently just turning ON the switch in common event 1 needed as a condition switch for common event 2 is enough to activate common event 2 and doesn't paralyze the hero while it's 'waiting' to turn off. ^ ^
Parallel process and auto run events run at every frame as long as the condition is true, so you only need to turn the switch on to make it run on the next frame and turn the switch off to make the event stop running.

The "Call Common Event" command calls any common event instantly, ignoring it's trigger and condition (it would be called even if the switch was off). The problem with this command is that even if event 2 is set to "parallel process", it will run on the same process of the event that called it. Since event 1 was not a parallel process, event 2 wasn't run as a parallel process either.

Original thread: https://forums.rpgmakerweb.com/threads/wait-in-common-events.41608/