Set Player Movement Script calls

Hey!

I'm currently eventing a race in my game so it involves a lot of NPC movement. But instead of repeatedly pressing the commands into the movement window via the buttons, is there a simple script I can use that will mean instead of a long list of movements I can define how many times it should move by quantity?

i.e

move left (34)
move down (21)

Thanks in advance
Sure there is but i have no clue about that.
But i could maybe help with a Workaround.

To make Events move even if they are far outside of visible Screen we need to give them the Moveroute Via Eventcommand.
1Parallel Event can do that for many NPC. The Moveroute is "1 Step Forward". and we use Regions to Turn the Events into the correct direction.

Set Var1 = Event1 MapX
Set Var2 = Event1 MapY
Eventcommand Get Location Info - Region ID at position Var1 and Var2
Var3 contains Region ID.
If Var 3 equal 0
Set Movementroute Event1 - 1Step Forward (Skip if cannot Move marked)
else
If Var3 = 1
Set Movementroute Event1 - Move Down
If Var3 = 2
Set Movementroute Event1 - Move Left
If Var3 = 3
Set Movementroute Event1 - Move Right
If Var3 = 4
Set Movementroute Event1 - Move Up

Repeat for other NPCs, you can reuse the Variables.
Wait 20 Frames (Not sure if the Wait is needed in this case,so adjust or delete it if necesarry, long wait = the event runs less often(good for performance if you have many NPC), short Wait = also very quick moving NPC run smoothly without stopping)

Not tested in MV, but it should work we had something like that to make Cars drive in a City in VX-Ace.
Yanfly's Move Route Core has that functionality.

http://yanfly.moe/2017/01/21/yep-124-move-route-core-rpg-maker-mv/
Awesome that one even got Pathfinding if i read correctly. Thanks for the Link.
Thanks you two!

Original thread: https://forums.rpgmakerweb.com/threads/set-player-movement-script-calls.105743/