Restrict all player movement - preferrably with a switch.

Status
Not open for further replies.

Ravenith

Veteran
Veteran
Joined
Mar 27, 2012
Messages
263
Reaction score
15
First Language
Greek
Primarily Uses
Just what the topic title says - I'd very much like a snippet to make the player unable to move when a certain switch is turned to ON.

Thank you very much in advance! :)
 

Cadh20000

Veteran
Veteran
Joined
Sep 15, 2013
Messages
1,830
Reaction score
444
First Language
English
Primarily Uses
So... Like a paralysis condition that effects character movement instead of battles? ?_?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
29,477
Reaction score
6,854
First Language
German
Primarily Uses
RMMV
It would be nice to know why you need such a thing - for cutscenes, that is automatic by using an autorun to control the cutscene. As long as an autorun is active on a map, all player input is blocked.

However, while it would be theoretically possible to create an empty autorun conditioned to a switch, that might risk lag if that autorun isn't controlling everything...
 

Ravenith

Veteran
Veteran
Joined
Mar 27, 2012
Messages
263
Reaction score
15
First Language
Greek
Primarily Uses
Due to a clash between two scripts, the player can move during certain Show Choices events. In theory this shouldn't happen. Given the fact one of the scripts involved is Omegazions's infamous battle system, I'd wager a snippet would be an easier way to do the job than an actual fix.

The aforementioned "Show Choices" is already on an autorun, by the way, and the player can still move. :/

EDIT: I found a workaround, by using a second autorun looping a "wait" command. Go figure. Thank you very much for your help and sorry for the inconvenience.
 
Last edited by a moderator:

Celianna

Tileset artist
Global Mod
Joined
Mar 1, 2012
Messages
10,543
Reaction score
5,551
First Language
Dutch
Primarily Uses
RMMV
I suggest to not use one of those scripts if you're going to have to work around the issues that are caused by it.


Regardless, closing this.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Free RPG Maker Ready Charging Up Animation

Enjoy -No Credit Needed But Appreciated -
Download it at https://lvgames.itch.io/free-charging-up-pixel-animation-fx-rpg-maker-ready
:/ .... so, thought I’d go to the park to sit in the cool breeze and get out of the house a little. Nope, guess that’s quarantined too. Ok...
How do you do when you want to work on projects but the game companies make so many games available for free because of the quarantine?
Kes
I have just stepped down from being a Mod, so please don't send me any more pm's with Mod questions. Thanks
Made a brief video showcasing early game play... Got a copyright claim by BIG UP! (https://big-up.style/) for using music I bought from here (Future Steam Punk Pack). Now I wonder if I should strip any purchased music from here out of my game. :LZSskeptic:

Forum statistics

Threads
95,485
Messages
929,496
Members
125,725
Latest member
Elender
Top