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
21,796
Reaction score
11,009
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

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,837
Reaction score
12,250
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
29,563
Reaction score
6,889
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
11
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
12,724
Reaction score
13,134
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I usually don't enjoy survival games, but I absolutely love Conan Exiles.
Basically Everyone: Dont make a long game the first time. Me: I guess i'll make a REALLY long game in that case >:p
I've developed a habit of thanking cleaning ladies for their work.
Sorry Aerith... I will abandon your shoes... :guffaw:
Spent a whole bunch of time today reworking the area in the video because someone said it was too illusory. So I reworked it so it changes less, moved the grass up to the same level as the player.... And found enough extra resources to make the grass moves when the player touches it. Also lots more water, because it looks amazing. I'll probably put up a short updated video later today.

Forum statistics

Threads
95,771
Messages
931,759
Members
126,170
Latest member
2969910490
Top