Inputs moving battle log script?

CUF4qJw.png


One of the things that bothers me about the battle scene is that you barely get enough time to process what's at the top before it moves onto the next message/animation. I was wondering if there was a script or in-game function that makes it so pressing the confirm button moves these messages along instead.
try this
try this

It does in fact work, but there's a few caveats:

* It counts both messages that would show up in the battle log (aka. the primary message and the one that shows up under it if you choose to fill it in), so it takes two inputs to pass onto the next action even if the second message is blank. Ideally I would just want one input.

* It plays the attack animation before you do the input, as opposed to after... which is disorienting.

* It requires the input even when you kill every enemy on the battlefield or when all of your party members die (which is redundant thanks to the "party has fallen" box that shows up), which is kind of awkward when you see the last guy fade out but the game is waiting for you to make an input.
It does in fact work, but there's a few caveats:
Yes I noticed them back then as well.
Now that I understand a bit more, this turned out to not be too hard.
Just doing a input check when it is supposed to clear the lines.
Spoiler: Battle Pause
Ruby:
# ╔═════════════════════════════════════╦════════════════════╗
# ║ Title: Battle log input pause wait  ║  Version: 1.00     ║
# ║ Author: Roninator2                  ║                    ║
# ╠═════════════════════════════════════╬════════════════════╣
# ║ Function:                           ║   Date Created     ║
# ║                                     ╠════════════════════╣
# ║ Battle log pause for button input   ║    14 Feb 2022     ║
# ╚═════════════════════════════════════╩════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Plug & play                                              ║
# ╚══════════════════════════════════════════════════════════╝
# ╔═════════════════════════════════════╗
# ║ Terms of use:                       ║
# ║ Free for all uses in RPG Maker      ║
# ╚═════════════════════════════════════╝
class Window_BattleLog < Window_Selectable
  def clear
    if @lines.size > 0
      loop do
        Input.update
        if Input.press?(:C)
          break
        end
      end
    end
    @num_wait = 0
    @lines.clear
    refresh
  end
  def back_one
    if @lines.size > 0
      loop do
        Input.update
        if Input.press?(:C)
          break
        end
      end
    end
    @lines.pop
    refresh
  end
end
I can add a switch if you want it to be turned on and off

Spoiler: with switch
Ruby:
# ╔═══════════════════════════════════════════════╦════════════════════╗
# ║ Title: Battle log input pause wait            ║  Version: 1.01     ║
# ║ Author: Roninator2                            ║                    ║
# ╠═══════════════════════════════════════════════╬════════════════════╣
# ║ Function:                                     ║   Date Created     ║
# ║                                               ╠════════════════════╣
# ║ Battle log pause for button input             ║    14 Feb 2022     ║
# ╚═══════════════════════════════════════════════╩════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Requires: nil                                                      ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Brief Description:                                                 ║
# ║        Make the Battle Log pause for Input                         ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Instructions:                                                      ║
# ║   Plug & play                                                      ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Updates:                                                           ║
# ║ 1.00 - 14 Feb 2022 - Script finished                               ║
# ║ 1.01 - 14 Feb 2022 - Added Switch in module                        ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Credits and Thanks:                                                ║
# ║   Roninator2                                                       ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Terms of use:                                                      ║
# ║  Follow the original Authors terms of use where applicable         ║
# ║    - When not made by me (Roninator2)                              ║
# ║  Free for all uses in RPG Maker except nudity                      ║
# ║  Anyone using this script in their project before these terms      ║
# ║  were changed are allowed to use this script even if it conflicts  ║
# ║  with these new terms. New terms effective 03 Apr 2024             ║
# ║  No part of this code can be used with AI programs or tools        ║
# ║  Credit must be given                                              ║
# ╚════════════════════════════════════════════════════════════════════╝

module R2_BattleLog_Wait
    PAUSE_SWITCH = 12 # turn on to use
    PRESS_KEY = :C    # Button to press to continue log
    # :C = Z, :B = X, :A = SHIFT, :X = A, :Y = S, :Z = D, :L = Q, :R = W
end

# ╔════════════════════════════════════════════════════════════════════╗
# ║                      End of editable region                        ║
# ╚════════════════════════════════════════════════════════════════════╝

class Window_BattleLog < Window_Selectable
  def clear
        if $game_switches[R2_BattleLog_Wait::PAUSE_SWITCH] == true
    if @lines.size > 0
      loop do
        Input.update
        if Input.press?(R2_BattleLog_Wait::PRESS_KEY)
          break
        end
      end
    end
        end
    @num_wait = 0
    @lines.clear
    refresh
  end
  def back_one
        if $game_switches[R2_BattleLog_Wait::PAUSE_SWITCH] == true
    if @lines.size > 0
      loop do
        Input.update
        if Input.press?(R2_BattleLog_Wait::PRESS_KEY)
          break
        end
      end
    end
        end
    @lines.pop
    refresh
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/inputs-moving-battle-log-script.144941/