Is there an easier way to do this?

So, I have a script that allows me to control where followers move. (Specifically this script) For a cutscene, I want them to move to specific tile. My problem is that this is in an optional area, so they could have no followers, or 4 followers. Is there an easier way to do this than just making a variable for a follower's X and Y locations, then have a conditional branch for every possible coordinate the follower could be on? Is there a command or a script or something that adds a "Take the easiest route to this tile" option? I really don't want to spend an hour on two seconds of the game.
plz i dont want to spend all day on this.png
I don't know if there is a script or not. Personally, to make my life easier, I'd try to rethink the cutscene. For example, do the followers NEED to be showing for this cutscene? And if so, could you work it so that you turn off followers for that bit, have say, up to 4 events with the graphics of the followers set up around the scene, and then have those set to trigger if and only if that player is in the party?
If it is a cutscene without player control, there is another approach for this:
Simply deactivate followerd and use events as placeholders for them.
Then you can use the event condition "actor exists" to check if the actor is in the party and disable the event automatically if not, and control the event directly without scripts.

The key is to know where the player triggers the cutscene and have the events positioned correctly when the followers are deactivated.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-an-easier-way-to-do-this.75428/