Disable user input while moving

Is there any way to have the player use the arrow keys, but no matter which keys he/she pushes, the player moves on a specified route? Like if the route is up, up, up (for simplicity's sake), even if the player hits down, down, down (or whatever) on the arrow keys, he still moves up. I would use this for a cutscene where the character is under someone else's control. Is this possible?


Thanks!


EDIT:
I found this plugin and figured I would do it with conditional branches and button presses... I see now that my logic is flawed...
don't even bother using any plugin - it's much simpler using events only.


In the cutscene control event, make a loop checking for key presses and if any movement key is pressed, always move up by set move route.


Just remember that you need a condition to exist the loop when the destination is reached.
I'm a little confused. You mean to use a conditional branch with the "Button x is pressed down" page? How would I know which arrow key the player is gonna press?


Thanks
If you set a move route for the player and check the wait for completion box, any keyboard input will be removed anyway.  Make sure your cutscene event is set to autorun, and that you only have one event controlling the whole cutscene, rather than commands distributed through multiple events using switches to activate/deactivate them.
I understand that, but how do I make it so the player wont move unless one of the arrow keys (or whatever control scheme is set up) is pressed. I dont want the player to just move with a Set Movement Route.


Thanks
I don't understand - first you say you want to disable player movement, and now you say you only want the player to move when they're pressing the arrow keys (which is the default).


What exactly are you trying to do?
I understand that, but how do I make it so the player wont move unless one of the arrow keys (or whatever control scheme is set up) is pressed.

The autorun will disable all movement - and the conditional branch is there to check which button is pressed before you command the player to move up (or wherever you want).


If you make a conditional branch "if down is pressed" and place a set move route "up" inside that branch, the player will go up when down is pressed and ignore the original command if that conditional branch is placed inside an autorun.
I want to make it so it doesnt matter what arrow key is pressed, but with every press, the player moves one step along a specified route. 
I think I've figured something out, so nevermind. 


Thanks for all your help!
that is exactly what we were telling you to do: just make a loop with one conditional branch for each arrow button, but having all arrow buttons go up in the set move route.
The set move route isn't just "Up" commands, if that's what you thought. Forgive me for being a bit unclear. Anyways, after using a script command from GALV_MoveRouteExtras, and the conditional branches like you said, I got it to work.


Thank you all so much.
then you need to make the content of the conditional branches more complex - and yes, that is difficult without scripts if the move route is more complex or longer
I know, thank you.

Original thread: https://forums.rpgmakerweb.com/threads/disable-user-input-while-moving.71711/