So, I have two NPCs on different maps, each with a similar route (just a basic back and forth with some pauses to look around).
One of them, if I get in his way, he stops, and once I'm out of his way, he resumes his route and goes where he's supposed to. Works great!
The OTHER NPC though, if I get in his way, he uses my location as his "stop point" and then travels away from his designated area. So basically, if he's supposed to go 3 spaces left, then 3 spaces right, if I stop him in the middle, instead of continuing left like the first NPC does, he'll go 3 spaces to the right from where I stopped him =(
There IS one difference: The second NPC makes noises at his "stops" (he works a kitchen, and so I have him chopping food, then washing his hands). Here's the set-up:
Move Left (x3)
Turn up
SE: slash 9
Wait (15 frames)
SE: Slash 9
Wait (15 frames)
Move right (x 3)
Turn up
SE: Noise
Wait (120 frames)
Repeat Movements ON
Skip if cannot move is OFF
Wait for completion is non-selectable.
Any ideas on how to make him work correctly instead of letting the player muck up his chores?
can you give screenshots of the event commands? your description is incomplete and we need to get the entire event data to find out where you made your mistake.
It's weird... If you turned "skip" to off, it should stay blocked on its movement until you go away as it would not skip the said movement... Are you sure they are both not skipping anything ?
Use a parallel process event for the NPCs movements, so that the movements won't be interfered by the event's pages. Just make a new event defined as parallel process that move the desired event in loop, and do not skip any step if they're impossible (so that the player can't "muck it up"), after having set the move event action, just erase the event (the parallel process one). if your event have others differents movements route depending on switches/conditions/etc, you'll need a more complex structure of parallel process. but in theory you don't need a plugin.
EDIT : Also try to optimize the pages of your NPC, if the others pages only have dialogues/actions on them, and the trigger for the event and the others proprieties remains the same, you could just use a conditional branch so that it's in the same page. Although it really depends on the situation.
What exactly change on the events between each of its pages ?
Just needing to change the dialogue, as he's a quest-giver. So, you know, the basic "Here's my problem will you help? "Y/N" "Okay thanks"; Next page "Did you take care of the problem yet"; last page "Thanks for taking care of that". Really basic stuff.
So basically, instead of using the "Autonomous moment" option, I should run the movement on a page and set it to parallel?
Well here's 2 options :
1) Make a new parallel event, which only set the movement route of your moving events, looping them and not skipping them, and then erase itself (if you don't erase a parallel event, it'll loop its action indefinitely). So this event would become the "handler" of the movements of the desired events, don't forget to remove the movements from the others events, since they won't move themselves, the parallel event will do it. The con is that if you want to change the movement route of an event without refreshing the map, you won't be able to and you'll need a more complex structure (more parallel or automatic events). So this option only works if you have an event that have a static movement route.
2) Merge the dialogues/etc in one same event page, just add conditional branches. Whenever you can optimize this kind of thing, do it. However, in some situation you'll need another event page, for instance if you decide to change the way the event can be triggered.
This is a stroke of luck, because I had been having (almost?) the exact same problem a few days ago, and this thread gave me the hint I needed to solve it.
In my case, I merged the event pages together and used Conditional Branches to decide which action to take.
So, I made a separate event, which I had to make self-terminate because it soft-locked on the first step (a noise, that got REALLY annoying!)... but now it doesn't turn itself back on when I leave and re-enter. So, here's some screenies:
EDIT: attaching original event as well, with the movement route removed now that I'm using a separate event to handle it.
EDIT 2: typos.
You used a self switch on the parallel event. Which means it'll only play once and will never play again.
You need to make the event erase itself instead of turning a self switch on. In the 2nd page of your action lists you should see something called "Erase event" or similar. Use "erase event" instead of turning a self switch on.
Self switches don't go through a reset when you refresh a map, they're good for one-time events like opening a chest. Or some scenes/one-time dialogues. Also in your screenshot, the self switch was useless because you made it become an event that do nothing, which means it stays there for... nothing 😅