Text in battle log when selecting an action

Is there a way I can text like "What will (actor) do"
Ruby:
module R2_Actor_Log_Command
  # text to show in log window
  TEXT = "What will %s do?"
  WAIT = 20 # about 8 seconds
end

class Window_BattleLog < Window_Selectable
  #--------------------------------------------------------------------------
  # * Display Substitute
  #--------------------------------------------------------------------------
  def actor_action(target)
    clear
    add_text(sprintf(R2_Actor_Log_Command::TEXT, target.name))
    wait while @num_wait < R2_Actor_Log_Command::WAIT if line_number > 0
    back_one
  end
end

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # * Start Actor Command Selection
  #--------------------------------------------------------------------------
  def start_actor_command_selection
    @status_window.select(BattleManager.actor.index)
    @party_command_window.close
    @actor_command_window.setup(BattleManager.actor)
    @log_window.actor_action(BattleManager.actor)
  end
end
Thank you
Ruby:
module R2_Actor_Log_Command
  # text to show in log window
  TEXT = "What will %s do?"
  WAIT = 20 # about 8 seconds
end

class Window_BattleLog < Window_Selectable
  #--------------------------------------------------------------------------
  # * Display Substitute
  #--------------------------------------------------------------------------
  def actor_action(target)
    clear
    add_text(sprintf(R2_Actor_Log_Command::TEXT, target.name))
    wait while @num_wait < R2_Actor_Log_Command::WAIT if line_number > 0
    back_one
  end
end

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # * Start Actor Command Selection
  #--------------------------------------------------------------------------
  def start_actor_command_selection
    @status_window.select(BattleManager.actor.index)
    @party_command_window.close
    @actor_command_window.setup(BattleManager.actor)
    @log_window.actor_action(BattleManager.actor)
  end
end
Ok it's been awhile since you replied but the time it takes to wait for actions to play out is too long also after a bit the names on the battle log while selecting an action disappears
Ok it's been awhile since you replied but the time it takes to wait for actions to play out is too long also after a bit the names on the battle log while selecting an action disappears
You want the text to stay on the screen until an action is chosen. ok it just needs to be explained fully.
Ruby:
module R2_Actor_Log_Command
  # text to show in log window
  TEXT = "What will %s do?"
end

class Window_BattleLog < Window_Selectable
  #--------------------------------------------------------------------------
  # * Display Substitute
  #--------------------------------------------------------------------------
  def actor_action(target)
    clear
    add_text(sprintf(R2_Actor_Log_Command::TEXT, target.name))
  end
end

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # * Start Actor Command Selection
  #--------------------------------------------------------------------------
  alias r2_start_actor_command_text   start_actor_command_selection
  def start_actor_command_selection
    r2_start_actor_command_text
    @log_window.actor_action(BattleManager.actor)
  end
  #--------------------------------------------------------------------------
  # * To Next Command Input
  #--------------------------------------------------------------------------
  alias r2_next_command_battler_text    next_command
  def next_command
    @log_window.back_one
    r2_next_command_battler_text
  end
  #--------------------------------------------------------------------------
  # * To Previous Command Input
  #--------------------------------------------------------------------------
  alias r2_prior_battler_text   prior_command
  def prior_command
    @log_window.back_one
    r2_prior_battler_text
  end
  #--------------------------------------------------------------------------
  # * [Skill] Command
  #--------------------------------------------------------------------------
  alias r2_command_skill_battler_text   command_skill
  def command_skill
    @log_window.back_one
    r2_command_skill_battler_text
  end
  #--------------------------------------------------------------------------
  # * [Item] Command
  #--------------------------------------------------------------------------
  alias r2_command_item_battler_text    command_item
  def command_item
    @log_window.back_one
    r2_command_item_battler_text
  end
  #--------------------------------------------------------------------------
  # * Skill [OK]
  #--------------------------------------------------------------------------
  alias r2_skill_ok_battler_text    on_skill_ok
  def on_skill_ok
    @log_window.actor_action(BattleManager.actor)
    r2_skill_ok_battler_text
  end
  #--------------------------------------------------------------------------
  # * Skill [Cancel]
  #--------------------------------------------------------------------------
  alias r2_skill_cancel_battler_text    on_skill_cancel
  def on_skill_cancel
    @log_window.actor_action(BattleManager.actor)
    r2_skill_cancel_battler_text
  end
  #--------------------------------------------------------------------------
  # * Item [OK]
  #--------------------------------------------------------------------------
  alias r2_item_ok_battler_text   on_item_ok
  def on_item_ok
    @log_window.actor_action(BattleManager.actor)
    r2_item_ok_battler_text
  end
  #--------------------------------------------------------------------------
  # * Item [Cancel]
  #--------------------------------------------------------------------------
  alias r2_item_cancel_battler_text   on_item_cancel
  def on_item_cancel
    @log_window.actor_action(BattleManager.actor)
    r2_item_cancel_battler_text
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/text-in-battle-log-when-selecting-an-action.163829/