Need some help designing a time system on the map (MV)

Hello everyone,
So I am trying to create a very specific type of behavior and I feel like it is dooable without any plugin but I'm not sure how to get it to work.

Basically I want to make the characters on the map move at the same time as my Player.
So let's say my character takes 1 step, other character (events) move 1 step on their own specific routes.

One of the possibility I thought of is to make a sort of time system where it's either On or Off. It's off when Player is immobile and On when he moves. But I'm not even sure how to do so.

Anyone got some ideas.
to make player and other events following it, is possible.
you control the events into 1 other event to contol all movement.

but the use of BO_FollowLinks, you control the event moveroute
and use a plugin command above it before doing that, to make it
much easier.

instead of:
moveroute: player
left
left
down
down
right
down
down
moveroute: this event
left
left
down
down
right
down
down

you do a simple plugin command, and do only the player or this event,
the rest will follow the same move rout (see spoiler on the link "Follow Links"
how it works.
I think I have an idea but let me be sure first. The event has its own move route that's different from the player? And when the payer moves(takes a step), the event takes a step forwards but according to their own move route?
I think I have an idea but let me be sure first. The event has its own move route that's different from the player? And when the payer moves(takes a step), the event takes a step forwards but according to their own move route?

Yes that's how it works.

Basically I just want them to move their own route BUT only if player is moving. If player isn't moving I want them to not move as well.

to make player and other events following it, is possible.
you control the events into 1 other event to contol all movement.

but the use of BO_FollowLinks, you control the event moveroute
and use a plugin command above it before doing that, to make it
much easier.

instead of:
moveroute: player
left
left
down
down
right
down
down
moveroute: this event
left
left
down
down
right
down
down

you do a simple plugin command, and do only the player or this event,
the rest will follow the same move rout (see spoiler on the link "Follow Links"
how it works.

Sorry I'm not sure I understood everything. I don't want the other characters to follow the player, I just want them to move their own route but only when player is moving as well.
you can set that in the event itself by than.
click moveroute -> random else customize its moveroute the way you want it.

if you want to make a cutscene, do this in 1 event to control all moveroutes of all players/events.
if its seperate and no cutscene, let them move at random, use speed 5 or 6 for smoothness.
I made it work but this only works if the player takes one step every time (like, if they're not holding down an arrow key. But only pressing one key at a time... But you can get an idea from here):
◆If:#0001 = 0
◆If:Script:$gamePlayer.isMoving()
◆Set Movement Route:This Event (Wait)
:Set Movement Route:◇Move Down
◆Control Variables:#0001 = 1
◆
:End
◆
:End
◆If:#0001 = 1
◆If:Script:$gamePlayer.isMoving()
◆Set Movement Route:This Event (Wait)
:Set Movement Route:◇Move Right
◆Control Variables:#0001 = 2
◆
:End
◆
:End
◆If:#0001 = 2
◆If:Script:$gamePlayer.isMoving()
◆Set Movement Route:This Event (Wait)
:Set Movement Route:◇Move Down
◆Control Variables:#0001 = 3
◆
:End
◆
:End
◆If:#0001 = 3
◆If:Script:$gamePlayer.isMoving()
◆Set Movement Route:This Event (Wait)
:Set Movement Route:◇Move Left
◆Control Variables:#0001 = 3
◆
:End
◆
:End

I've moved this thread to MV Support. Thank you.

S
I made it work but this only works if the player takes one step every time (like, if they're not holding down an arrow key. But only pressing one key at a time... But you can get an idea from here):
◆If:#0001 = 0
◆If:Script:$gamePlayer.isMoving()
◆Set Movement Route:This Event (Wait)
:Set Movement Route:◇Move Down
◆Control Variables:#0001 = 1
◆
:End
◆
:End
◆If:#0001 = 1
◆If:Script:$gamePlayer.isMoving()
◆Set Movement Route:This Event (Wait)
:Set Movement Route:◇Move Right
◆Control Variables:#0001 = 2
◆
:End
◆
:End
◆If:#0001 = 2
◆If:Script:$gamePlayer.isMoving()
◆Set Movement Route:This Event (Wait)
:Set Movement Route:◇Move Down
◆Control Variables:#0001 = 3
◆
:End
◆
:End
◆If:#0001 = 3
◆If:Script:$gamePlayer.isMoving()
◆Set Movement Route:This Event (Wait)
:Set Movement Route:◇Move Left
◆Control Variables:#0001 = 3
◆
:End
◆
:End


So I tried to do it but I'm pretty noob on how to use custom scripts. Maybe I did something wrong...
I entered the script on the event but it doesn't seems to do anything. (cf image)
Screenshot 2020-07-27 at 16.03.20.png
Moved to: MV Support

Sorry, I will next time !

you can set that in the event itself by than.
click moveroute -> random else customize its moveroute the way you want it.

if you want to make a cutscene, do this in 1 event to control all moveroutes of all players/events.
if its seperate and no cutscene, let them move at random, use speed 5 or 6 for smoothness.


Sorry I have a hard time following you, I'm pretty noob here. So your recommendation is to download the follow plugin and then I can customize it ?


EDIT : I checked the plugin but I really don't understand how it can help me. I don't want them to follow my player. Just to move at the same time as my player does.
if = a condional banch,
moveroute is red text, we never said scriptcall anywhere
Oh sorry I'm really noob ><

So I made it like this (screenshot), but it isn't working either. The NPC is still moving in normal time.
Screenshot 2020-07-27 at 16.17.57.png
Oh sorry I'm really noob ><

So I made it like this (screenshot), but it isn't working either. The NPC is still moving in normal time.View attachment 152976
I see you're using a custom move route, random movement. If you use random, you can't set up something like this. Because it's random. You can't know how the npc is supposed to move.
I see you're using a custom move route, random movement. If you use random, you can't set up something like this. Because it's random. You can't know how the npc is supposed to move.

I also tried with both custom and fixed but it didn't do anything either.
I am clueless at this point XD Hopefully someone else will help.
I feel like maybe I set it up wrong, but I'm not sure how I am supposed to. Do I put it in a separate event ?

I'm trying something like :

- Having a parralel event running in the background with this :
1595860193754.png


- And then my NPC event with this :
1595860394014.png


And I feel like it should work but it isn't...
Well thanks for trying to help anyway !

Original thread: https://forums.rpgmakerweb.com/threads/need-some-help-designing-a-time-system-on-the-map-mv.124574/