RPG Maker MZ

RPG Maker MZ

PorkChip Nov 9, 2023 @ 9:34am
Freezing player movement
How do you do this? I would like to know how to switch it on and off at will.
Thanks :steamhappy:
< >
Showing 1-3 of 3 comments
Caethyril Nov 9, 2023 @ 4:53pm 
Normal player controls (including map movement, the Action Button event trigger, and menu access) are suspended while a non-Parallel event is running. That's part of the reason Autorun events are recommended for cutscenes.

Alternatively, you can give the player an empty repeating move route (i.e. no move commands). To undo it, give them a non-repeating empty move route.

If you just want to keep the player on one tile, maybe surround them with invisible, Same as characters events? If you want to prevent turning as well, you can give the player a move route with Direction Fix ON: it will persist until you turn it off again.
PorkChip Nov 10, 2023 @ 12:54am 
Thanks for your reply but I solved this already and forgot to edit my original message.

What I was doing wrong was using a Parallel event with Wait commands that was triggered by another parallel event and did not realise that using an Autorun on the first event would not stop all the other parallel processes on other events, so it was just me being dumb.

Interesting idea with the place invisible events around the player, then use a X and Y finder variable to determine the player map position right? Did not think of that :steamsad:
Caethyril Nov 10, 2023 @ 2:27pm 
All good~ :winter2019happyyul:

Originally posted by NinthNei:
Interesting idea with the place invisible events around the player, then use a X and Y finder variable to determine the player map position right? Did not think of that :steamsad:
Yep! That would mean you'd need copies of those 4 events on each relevant map, though.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Nov 9, 2023 @ 9:34am
Posts: 3