Hi guys!
Is it possible to disable the ability to speed up dialogues?
There are some moments in my game where the main character moves by himself and talks. It's synchronised with the background music so it's very important to me that the player won't press "Z"/space/enter to speed up the movement and dialogues.
What's the best way to do it? (hopefully without plugins)
Is there any line responsible for this ability?
Or is it better to disable the keyboard for a moment?
you can use text code to add waits into the show text command, as well as force close it and a few more things.
you can find the complete list of text codes in the help files and in the tooltip that appears if you hover the mouse over the text input window.
only scroll texts have the option to disable fast forward, but it's all handled by the same manager.
you could write a plugin that channels that variable into the show text command, if it's just for a very particular use.... shouldn't be hard, and it probably doesn't merit adding a whole dialogue plugin.
edit: I just checked, and there's a way in through the message window's own wait command.
it usually waits after every character, and the button press skips that.
you just have to redirect that to ignore the button based on your call, which can be sent to the scrolling flag, which already exists there.
basically, override the wait method, and make it look at the variable.
I wouldn't know how to write it because I only have Ace, but the structure should be the same.... I'm sure a coder of JS will understand what I mean
But still, controlling text speed is not enough, because there's a scene where the character talks while moving, so no matter what text codes I use, player still can speed up the movement which destroys the synchro with music and dialogues.
I think I need to temporary disable all possible button inputs (keyboard, mouse and controller).
i need either to disable those button inputs or just this specific game behaviour.
Is there a reason Yanfly's Message Core wouldn't work? It has Enable/DisableFastForward plugin commands to use on either side of cutscenes.