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,230
Reaction score
6,776
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,535
Reaction score
5,541
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 Profile Posts

I just noticed the minigame challenge. Now considering...
My project just started lagging during battletest and I haven't been able to figure out why...
Oh, Google is now warning users against installing extensions on Edge Chromium
on my plate today- animation.
"Your service has been identified as part of an outage. This is expected to be restored by 7pm IN SEVEN DAYS!!!" Guess I won't be around as much over the next week :(

Forum statistics

Threads
94,471
Messages
921,161
Members
124,311
Latest member
cadenm1223
Top