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

Global Moderators
Global Mod
Joined
Aug 3, 2012
Messages
21,634
Reaction score
10,932
First Language
English
Primarily Uses
RMVXA
RPG Creator is a different engine to the one your information says you are using.

I've moved this thread to RPG Maker MV. Please be sure to post your threads in the correct forum next time. Thank you.

 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,535
Reaction score
12,057
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,232
Reaction score
6,776
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
10
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,612
Reaction score
12,943
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 Posts

Latest Profile Posts

welp, the stock market went down by 7% because of corona today. Time to buy stocks?
Man, being able to edit my game WHILE testplaying it is like the most convenient thing EVER. Thank you, MV...it even makes up for the OGG thing. Well, almost.
Back in the old days, long before I was born, salted crisps - or potato chips, for you yanks - came unsalted and had a little pouch of salt to manually shake on it. Of course, things are more efficient now, but Walker's still brought back the old 'Salt 'N' Shake' style a couple years ago. Dunno why, but if I had to guess, I'd say it's because the nostalgia crowd were getting salty.
Guys I just want to sit around and work on my game! *gets lots and lots of money shoveled at him* Game, I don't recall a game. What game? :LZSexcite:

Forum statistics

Threads
94,555
Messages
921,842
Members
124,416
Latest member
zths
Top