Moving multiple NPC's at same time

Ok I have been watching video after video trying to figure this out. I have 2 "guards" blocking the road for the player, the player needs certain equipment to make the guards move. It's basically just a conditional branch with saying the players need the equipment. My problem currently is making the guards move in unison and making them move only once. I have them both on a switch that once it turns on they say you can go and move but it only applies to the one that you are talking to and if you interact with them again they will repeat the same dialogue and move again. If anyone could help teach me how to fix this you would be a live savor. Thanks!
Hy, this would be one possible way of doing it:
1644101686505.png

1644101699495.png



Ofc youd need to finetune it for what you need, you can change the self switch to any switch actually, its just important to make something to turn it off...
And the actuall guards are just 2 events with a picture, other then that they are empty... just like my soul.. 😀
Hy, this would be one possible way of doing it:
View attachment 215348
View attachment 215349


Ofc youd need to finetune it for what you need, you can change the self switch to any switch actually, its just important to make something to turn it off...
And the actuall guards are just 2 events with a picture, other then that they are empty... just like my soul.. 😀
Why the second page? You can just put those move routes in the "yes" section of the choice. There is no reason to switch to a second page, just to trigger the move routes, right?

1644102882372.png
Why the second page? You can just put those move routes in the "yes" section of the choice. There is no reason to switch to a second page, just to trigger the move routes, right?

View attachment 215352

Yup but i like to use pages instead, think it looks cleaner in my opinion and they do the same in the end. But in this case youre right, i made the assumption that if you got 2 set movement routes the programm will first let one walk then the other thats why i did the 2nd page in a parallel process... dunno where this thinking came but till now i thought they will only move simultaneously if the event is in parallel or autorun...
This is what I managed to do. I got both of the guards to move simultaneously, but I can't get them to stop repeating the same actions if I talk to them. Is there any way I can fix it without having to erase all of this and copying yours? Thanks
Screenshot 2022-02-05 182322.png
You use the condition wrong...
Make a condition that says "Switch is OFF" and make sure "If else" is checked at the bottom.

Then, in the upper part, do the movement, you want them to do just ones.
After that, still in the upper part, turn that switch on.

In the bottom part, you refuse the movement, since they already moved up.
This is what I managed to do. I got both of the guards to move simultaneously, but I can't get them to stop repeating the same actions if I talk to them. Is there any way I can fix it without having to erase all of this and copying yours? Thanks View attachment 215354
You could but tbh my advice would be to delete it and begin new, its not much work.
Let the guards be just pictures, so no eventing in them except maybe a textbox.
Chose your way to activate them, you can also do it automatically via xy coordinates or region ID, i think that would look even nicer when you aproach them and they tell you "stop, you got no sword and shield"
You use the condition wrong...
Make a condition that says "Switch is OFF" and make sure "If else" is checked at the bottom.

Then, in the upper part, do the movement, you want them to do just ones.
After that, still in the upper part, turn that switch on.

In the bottom part, you refuse the movement, since they already moved up.
Thank you for the help! I have fixed it and tested it.
Thank you for the help! I have fixed it and tested it.
Cool. 🙂 Do you understand why it works this way and what you did wrong? (Just so you will be able to use conditional branches right in the future.)
Thank you for the help! I have fixed it and tested it.
So, made one to add to my demo town since i was out of event ideas anyways...
If you like it, you can recreate it, here how it looks:

And the actual event:
1644108939507.png


Here the guards:
1644108963285.png


Since you cant get near the guards anyway, there is no problem in making just a text there, you only can go near them when the other event is done.

And thx for idea btw. ^^

Original thread: https://forums.rpgmakerweb.com/threads/moving-multiple-npcs-at-same-time.144672/