I've got a question about how to prevent a player from moving until my cutscene is over.

trevorwright1

Villager
Member
Joined
Jan 29, 2020
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
I'm making a scary RPG. The player walks down a hallway. At a certain point in the hallway, I want the player to not have the ability to move. Then, a sequence of footstep noises plays, and a creature comes and moves towards the player. When it reaches the player, the player gets moved to a different area. The thing that is getting me stuck is how to make the player not move while a separate event (the footstep noises) is happening. Can someone help me out? I'm only a few days into RPG Maker so please use easier language for me to understand. Thank you.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,325
Reaction score
11,752
First Language
English
Primarily Uses
RMVXA
RPG Creator is a different engine to the one your information says you are using.
[MOVE]RPG Maker MV[/MOVE]
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,509
Reaction score
14,850
First Language
English
Primarily Uses
RMMV
Use an autorun event. This disables all player movement until it's finished and deactivated.
 

DnCGamez

Villager
Member
Joined
Jan 25, 2020
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMMV
You can use an event to allow for player touch then have it turn on a self switch A then make a new page and activate it for switch A and set it to autorun and after it does everything make it switch another self switch and then erase event on the third page with the self switch activated make sure it's set to parallel
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,910
Reaction score
8,250
First Language
German
Primarily Uses
RMMV
@DnCGamez that is a really convoluted and absolutely not neccessary way to handle things, especially as it can be done without any switch and without any additional pages by just setting the cutscene itself to autorun exactly as shaz said above.

and you should not use parallel processes unless you know exactly what you're doing. there are a few cases where they are neccessary, but excessive use will lag your game to hell, and excessive use on multiple pages with switches has a high risk of creating timing errors.
 

DnCGamez

Villager
Member
Joined
Jan 25, 2020
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMMV
good to know i am also new to this stuff thats just how i been doing it but now i will go threw and fix my stuff as well ty for letting me know
 

charlottezxz

Villager
Member
Joined
Mar 31, 2014
Messages
13
Reaction score
6
First Language
English
Primarily Uses
RMMV
Have a tile the player walks on that could trigger a self switch for another event page on it to run an auto event. An auto event stops all player movement. During that event have your cut scene play out, play the sound effects, have a character move down with set move and then when it gets where you want it, transfer the player to another map activating a self switch for the Auto run (cut scene) event tile to end it.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,828
Reaction score
14,634
First Language
English
Primarily Uses
RMVXA
Id not use a self switch for another event (or a switch at all) just use a variable that you use for plot flow. That tends ot be better. Plus self switches are for the event that calls them only.
 

Latest Threads

Latest Profile Posts

Quite the versatile cast so far :p

chars.PNG

Edit: Sprites are made by Alexdraws and TheMightyPalm. I just edited them.
Degica Games Turn Komodo | RPG Maker News #77

Well, rats. Was really looking forward to trying out FPS Creator, but trying to install and set it up was pretty much impossible for my tiny brain to comprehend. So much for that, then.
Ah, home once more! I think I can safely work on my games now.

Forum statistics

Threads
112,421
Messages
1,068,174
Members
146,076
Latest member
flowermuncher77
Top