How do I code it to where if 0002: Misty is in front only she moves forward five spaces?

Basically let's say in a game I have characters
0001:Harold
0002:Misty
0003:Timothy
0004:Margaret
0005:Jason


Let's say the order of the players right now is
Misty in first place
Jason in second place
Margaret in third place
Timothy in fourth place
Harold in fifth place
so basically
Misty
Jason
Margaret
Timothy
Harold
.


How in a script do I code it to where if Misty is in first place
only She moves but
Jason stays put
and also
Margaret stays put
and also
Timothy stays put
and also
Harold stays put
please? Thank you 🙂
I believe you can do all of this with movement routes, using events.
Followers are automatic, you can't decide that they stay in position by default - they will always follow.

Now, if you want to do this in a cutscene the solution is to disable followers and have events pretending to be those other party members, then you can move them independently by move routes targeted on those events.
The easiest way to move followers is as events, as Andar put it.

However you can set their _x and _y with event script, for a quick little move, like talking to the leader or whatever.
followermove-o.gif

The followers 2 - 4, are indexed 0,1,and 2 in _followers._data
Code:
$gamePlayer._followers._data[2]._x = $gamePlayer._x;
$gamePlayer._followers._data[2]._y = $gamePlayer._y - 1;
$gamePlayer._followers._data[2].setDirection(2);
They always seem to fall back into place when you move again.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-code-it-to-where-if-0002-misty-is-in-front-only-she-moves-forward-five-spaces.76519/