Event will only move in one direction...

The project I'm working on is currently using a time system, and I wanted to do some tests with it to see if I could make an event move at a certain time... I got it to work, sort-of, by making a parallel common event that changes a variable depending on the time:

If: hours greater or equal (can't type symbol)to 7
If: minutes greater or equal to 20
Control Variables: #005 Schedule Test 1 = 1

End

Else
Control Variables: #005 Schedule Test 1 = 0

End

And then in the Event I have the first page conditions as Schedule Test 1 greater or equal to 0 with just a dialogue box, then second page is Schedule Test 1 greater or equal to 1 with a movement... It works in the sense that before 7:30 the event will just talk, then at 7:30 the event will walk but the problem is it only does the first movement then continues that movement... and nothing I tried works to fix it. So basically the event will move left but then instead of moving down after it'll just continue left forever (until it hits a wall then it just walks left into the wall). I don't know what to do at this point... I really wanted to figure it out but nothing I tried worked.
Can you show us screenshots of the event setup? I have a couple of ideas but I want to see how you've got it running first.
Sure:
Try to set the move route to "wait" via the checkbox, I think whats happening here is that since the event is set to parallel, and your move route isnt set to wait, it activates "move left" every frame (which is 1/60 of a second).. So even before your character finishes its movement, its move route is already reset to "Move Left".

Alternatively, instead of making it parallel process and using event command for the move route, you can just make it as Action triggered and set the move route via the "Autonomous Movement" Box of the event by changing it from Fixed to Custom so that you can specify the move route it will use. That way you can also make that event trigger other actions when interacted with, which your current setup will not allow

Also your second action was move right, not move down.
That is in fact exactly what's happening. Because it's a parallel process, it's constantly starting over from the beginning because you didn't check "wait until movement finished"; it never gets a chance to move to the next movement command.
Thank you so much! And yes the movement route isn't exactly the same as I described because I was just trying to remember it from the top of my head when I first made the post, without the event in front of me (and I tried many different movements, before it was down down, right, left so it got confusing to remember). The movement route is going to change again anyway because this was just a test.

One concern I have I guess is if I click wait in the checkbox won't my player be frozen? I was hoping the event would move while I can (also) move. I have to head out soon so I can't test it out, but I'll try your suggestions when I come home later this afternoon.
If your event is parallel, it wont freeze your player, the wait will only affect the event command processing of that event itself..

If you want to be safer, follow my second suggestion of just using the Autonomous Move Route instead of parallel processing a move route event command.

TBH, I really suggest using the Autonomous Move Route as that's how you normally handle this behavior. That way you can even make the event still trigger event commands if the player interacts with it while it is walking (like talk to the player even if its moving).

On your current setup, the player wont be able to interact with the event while its moving because you made the movement using parallel processed move route event command.

Plus putting all your NPCs on parallel processing can cause more lag if you have a lot of them in the same map.
If your event is parallel, it wont freeze your player, the wait will only affect the event command processing of that event itself..

If you want to be safer, follow my second suggestion of just using the Autonomous Move Route instead of parallel processing a move route event command.

TBH, I really suggest using the Autonomous Move Route as that's how you normally handle this behavior. That way you can even make the event still trigger event commands if the player interacts with it while it is walking (like talk to the player even if its moving).

On your current setup, the player wont be able to interact with the event while its moving because you made the movement using parallel processed move route event command.

Plus putting all your NPCs on parallel processing can cause more lag if you have a lot of them in the same map.

It worked perfectly! Thanks a lot. 🙂 You both saved me no doubt hours of more trial and error...

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/event-will-only-move-in-one-direction.107746/