MZ Script to make event move whenever player moves

I have this event that's already set to trigger "event touch" but I want its autonomous movements to be 1 movement whenever player moves.

I'm only making this prototype right now, so it's rough (and only trying to get my basic mechanic to work before I make variety), but here's what this event looks like:
1766944845364.png


Any help with this is very appreciated (and sorry if I use wrong terminology, I don't know that much..), thank you 🙂
If you wanna fill your project with VisuStella, Events and Movement Core has 'Move Synch' notetags.
Welcome to the forum!

Do you only want the Event to move when the player moves?

Because there is already an option for Approach where the Event will move toward the player.

You could have the Event triggered when the player gets close, but then it will continuously move toward the player.

If you explain exactly how you want the Event to behave, you might get different options to try.
Welcome to the forum!

Do you only want the Event to move when the player moves?

Because there is already an option for Approach where the Event will move toward the player.

You could have the Event triggered when the player gets close, but then it will continuously move toward the player.

If you explain exactly how you want the Event to behave, you might get different options to try.
Thank you for replying and thank you for welcome!

Here, I try to rephrase in as literal words as I can:
When player presses any key to move, this event will also move. Press button to move, and these events also move.

I think this would make for more interesting gameplay compared to having it consistently move at set frequency. If there's any kind of script that could have it move like this, that would be good. Thank you again!!
If you wanna fill your project with VisuStella, Events and Movement Core has 'Move Synch' notetags.
I'll look at this too, thank you! ^_^
You could do this with a Parallel Event that uses the Player X & Y coordinates, but it would probably be easier with a plugin.

If you don't want to use VisuStella plugins, you could also consider this plugin:


I think it might do what you want.
If it's only on that map, you could have a parallel event running that runs a conditional script call check to see if the player is moving, and if so to turn on a switch to flip to a page set to approach.
Spoiler: Set up
First page of the follower event
Screenshot_1257.png

Second page of the follower event
Screenshot_1258.png

And the secondary event that controls the switch to turn them on and off
Screenshot_1259.png

I figured a switch would be the easiest option since you mentioned there would be multiple events following the player. If it's going to be on multiple maps then it may be easier to set it up as a common event set to parallel that way it'll check no matter what map you're on. Then you'd only have to worry about copy pasting the follower events.
If it's only on that map, you could have a parallel event running that runs a conditional script call check to see if the player is moving, and if so to turn on a switch to flip to a page set to approach.
Spoiler: Set up
First page of the follower event
View attachment 356308
Second page of the follower event
View attachment 356309
And the secondary event that controls the switch to turn them on and off
View attachment 356310

I figured a switch would be the easiest option since you mentioned there would be multiple events following the player. If it's going to be on multiple maps then it may be easier to set it up as a common event set to parallel that way it'll check no matter what map you're on. Then you'd only have to worry about copy pasting the follower events.
I ended up going with VisuStella as someone suggested earlier, but this is still really cool way of doing it!! Thank you for doing all this for my silly mechanics question, it means a much to me 🙂
No worries, I'm glad you still got to a solution that works for ya! It's one of the nice things about rpg maker, lots of ways to do whatever you want or need!

Original thread: https://forums.rpgmakerweb.com/threads/script-to-make-event-move-whenever-player-moves.181657/