A syntax error means you typed something wrong, probably in the script box
Skip part of the event?
RPG Maker MV SupportYou know what I typed isn't Javascript, right? It was paraphrased event commands
Ah. Now i do know. Is this right? It still turns on after one second of pressing though.
You don't need the Input.isLongPressed part if you're checking if cancel is pressed and then incrementing another variable. Change the 10 to 60 or 90 or 120 to adjust the length of how long the button has to be pressed down. Also you might want to make it >=10 in case a frame is skipped.
Thank you so much! It worked! I would like to add you to the titles in the future patch, as i do with people who help me solve issues, unless you don't want that for some reason.
I only failed to do the > part, because no matter what option i chose there are no such symbol.
Also, is it possible to block escape (keyboard key) as well? It seems like i open menu when trying to use at as a cancel.
Noticed interesting thing when i put main event into autorun instead of parallel process. It somehow works now and event is moving to the page via self switch, but first it plays the event to the last part, and only after switches to the second page.
You can add me to your credits if you'd like, but it is not necessary. Just credit me as AquaEcho if you do.
>= is equivalent to this
That's going to require a plugin to overwrite the function of the esc key
Yes, an autorun event will run its full code to the end and can't be interrupted.
I am stupid. There are event command that disables menu acsess. So, with it, and with script command written by @caethyril here: https://forums.rpgmakerweb.com/inde...-their-own-thread.46341/page-153#post-1471375
It is now possible to skip anything except for the scrolling text, and make it with either single press or hold of the button. Thanks again for the help, and, hopefully, it will also be useful to someone who will google same question in the future.
It is now possible to skip anything except for the scrolling text, and make it with either single press or hold of the button. Thanks again for the help, and, hopefully, it will also be useful to someone who will google same question in the future.
I had marked the 'disable menu' as the first command here. My bad, from now on I will include screenshots to be clearer.
@AquaEcho do you know what can cause this error? I successfully used the entire process to make 4 events skippable, and everything worked fine, but on the 5-th it started showing this. It seems like the script that blocking movement causing this, but... i never changed it, just copy-pasted.
The event looks like this -
The event looks like this -
That error implies you're trying to apply moveByInput to something that's not the player. Do you always use the script in a common event? Unless you're calling that common event on more than one map it shouldn't be a common event.
Yes, i always do use it in common event, never in global.
Weirdly enough, cutting and pasting the code back solved the issue. And i still have no idea what else it could be applied to... and why pasting it in the very same place in the event solved everything. But at least it works now.
Original thread: https://forums.rpgmakerweb.com/threads/skip-part-of-the-event.171791/