This is a small function that was incorporated in message scripts in the past, but Yanfly's MV plugins don't seem to have it? So is there any way to automatically close message after x frames?
Automatically close message after x frames
RPG Maker MV SupportThere's always the classic way of going about things with the built-in message coding thing RPG Maker has had forever.
\. = wait 15 frames
\| = wait 60 frames
\^ = do not wait for button input when this point is reached(ie automatically close message box)
And I think yanfly added a wait function.
\w[x] = Wait x frames
Then after that just use \^ to close the message. Hope this helps.
Also, if your issue is that you don't want to type out both \w[x] and \^ every single time, check out Yanfly's message macros.
\. = wait 15 frames
\| = wait 60 frames
\^ = do not wait for button input when this point is reached(ie automatically close message box)
And I think yanfly added a wait function.
\w[x] = Wait x frames
Then after that just use \^ to close the message. Hope this helps.
Also, if your issue is that you don't want to type out both \w[x] and \^ every single time, check out Yanfly's message macros.
I know of \.and \| and I tried Yanfly's \w[x], which doesn't close the message, only puts a pause to it. But as you typed, \^ should close it? Didn't know that function existed. Thanks, then my problem is solved.
\w[x] only sets the amount of frames it will wait before it does anything else, and is not meant to close it. As of right now, \^ is the only function I can think of that closes messages even with all of the Yanfly plugins.
Happy to have been able to help, though!
Happy to have been able to help, though!
Original thread: https://forums.rpgmakerweb.com/threads/automatically-close-message-after-x-frames.67650/