Hi thanks for reaching out!
I just tried the Plugin you made, but now I'm unable to advance the text with space/Z at all?
Did I do something wrong?
Edit: I realize that I didn't specify that I still want the player to advance text with Z/space, but not fast forward through it ^^,
I'm also using YEP_MessageCore
I have a function inside my MV base use the escape code "\SM" or "\STOP"
which allow you to stop the message at a certain point from skipping.
this can be added on each message so they are forced to repress
the button again.
I also have fastforward for autorun events automatically so they can't
skip that, but I need to add a function for flexible as I find galenmereth not
work and work normally after the first message.
Unfortunatly, adding commands to all my text boxes is not an option for me, it'll take ages to correct every single text box in the project 🙁
Do you need this part at all in the plugin? Just try and remove it.
/* rpg_window.js:4454 */
Window_Message.prototype.isTriggered = function() {
return (Input.isRepeated(FastForward) || Input.isRepeated('cancel') ||
TouchInput.isRepeated());
};
Removing those lines of code seems to disable the plugin, holding Z or space still advances the text boxes
Ah yeah I guess I didn't focus on what I was reading LOL.
I think it works if you add in the plugin Window_Message.prototype.isTriggered OR statements also the original Input.isRepeated('ok')
and add in the plugin
Window_Message.prototype.updateShowFast = function() {
if (Input.isRepeated(FastForward)) {
this._showFast = true;
}
};
But yeah, if that don't work, I'll let the other dudes answer you.
I may be able to add something when using "ok" button to automate to
add an "\STOP" after the text so they must retrigger.
as the trigger require to have input repeated and input interval to be reset.
something I did in my base plugin, so I could extend it a little to include
the "\SM" or "\STOP" after each text, so you don't have to add it manually.
it may be used when a switch is ON, just in case you don't want it on each
text message in the game, only on some places.
You don't need to resend the entire plugin (without modifications)
I tested it and it works, considering that the Z key and Enter key correspond to the 'ok' mapping, as I said in the previous message.
I'll be honest, I'm getting kind of lost.
I've added what rpgLord69 said to the plugin (like in the example)
I've tried it on a new project, but still I'm able to fly past the text boxed when I keep holding 'ok'
I do not wish to remap any buttons, just prevent the text boxes from advancing when you keep holding 'ok', but still be able to advance it with 'ok'
I appreciate the help, I'm just a little bit confused rn
In the code you posted you have a semicolon in the middle
TouchInput.isRepeated()); || Input.isRepeated('ok')
Oh my god you're right, I've been staring at this for so long and didn't even see that. It works perfectly now! Thank so much yall!