[RMVX ACE] HOW TO MAKE THE BATTLE LOG WAIT FOR BUTTON INPUT?

Posts

Pages: 1
Hey there!

I'm trying to get the Battle Log to wait for player input before displaying the next message, similar to how the Message Window does. By default, the Battle Log displays messages for only a short while before clearing it and moving on to the next message.

I thought it would be a relatively easy thing to do, but I've been at it for a few days now and I'm completely stumped. I have a strong feeling this bit of code in Window_BattleLog is to blame:

#--------------------------------------------------------------------------
# * Wait and Clear
# Clear after inputing minimum necessary wait for the message to be read.
#--------------------------------------------------------------------------
def wait_and_clear
wait while @num_wait < 2 if line_number > 0
clear
end


Unfortunately, I haven't had much luck altering or disabling it.

If I left out any important details about what I'm trying to accomplish, feel free to ask! Thanks for taking the time to listen to my problem!
Marrend
Guardian of the Description Thread
21806
Wow, this is messed up.

So, doing "wait until Input.press?(:C)" kinda does what you're looking for? But not quite. Like, the message displays in full, but only the first line of the message persists during the wait-period for the action button input.

I've attempted a few variations on that theme to either run into an infinite loop, have the same effect as what I just described, or have no visible effect whatsoever.


Sorry I couldn't help more!


*Edit: Though, now that I think about it, it might also have to do with how the window updates?
Pages: 1