event if character walks anywhere in a line on the map for cutscene

so I have a ingame cutscene, and what im trying to do is create an event that where the character walks, he'll stop and someone walks up to him & talks and walks away. problem I have at the moment, lets say Hero walks onto position B which then makes the other character walk to B, I want position


A


B                           CHARACTER


C


if there a specific plugin or way of making "character" walk directly infront of wherever the Hero is positioned without using "jump" or making separate events?
You could just use the Move Toward Player command in the move route.


Otherwise use a Loop and Repeat, and inside that make the character take a step closer to the player, then get the character's Y position into one variable and the player's Y position into another.  Do a conditional branch to see if the two variables are the same, and if they are, exit the loop.
yea ill give conditional branching  go, the move toward player wouldnt work as it wouldn't move the character up or down, only in a frontal position. when I get home from work ill give it a suss
the move toward player wouldnt work as it wouldn't move the character up or down, only in a frontal position.

wrong.


If the event is diagonal to the player, move toward player will alternate between moving horizontal and vertical
I think the move toward player checks to see if the event has to go more tiles in a horizontal or vertical direction, and will move them in whatever direction has the highest number of tiles.  It has nothing to do with the direction the event is facing.
yea so it seems it will work with move towards, as long as there is enough move towards set

Original thread: https://forums.rpgmakerweb.com/threads/event-if-character-walks-anywhere-in-a-line-on-the-map-for-cutscene.63316/