Is there a script for vx ace that puts the "Enemy attacks" text onto the battle log instead of a text box
"Enemy attacks in battle log"
RGSS3 Script RequestsThe one when a battle starts
Well that's not the enemy attack text then, that's the enemy appear text.
Ruby:
module BattleManager
#--------------------------------------------------------------------------
# * Battle Start
#--------------------------------------------------------------------------
def self.battle_start
$game_system.battle_count += 1
$game_party.on_battle_start
$game_troop.on_battle_start
if @preemptive
$game_message.add(sprintf(Vocab::Preemptive, $game_party.name))
elsif @surprise
$game_message.add(sprintf(Vocab::Surprise, $game_party.name))
end
wait_for_message
end
end
class Window_BattleLog < Window_Selectable
#--------------------------------------------------------------------------
# * Display Skill/Item Use
#--------------------------------------------------------------------------
def display_enemy_appear
$game_troop.enemy_names.each do |name|
add_text(sprintf(Vocab::Emerge, name))
end
end
end
class Scene_Battle < Scene_Base
#--------------------------------------------------------------------------
# * Battle Start
#--------------------------------------------------------------------------
def battle_start
BattleManager.battle_start
@log_window.display_enemy_appear
process_event
start_party_command_selection
end
end
@Roninator2
I think displaying one enemy after another in the battle log, each one in a new row, would be even better. I like this idea by the way. I would use it as well.
I think displaying one enemy after another in the battle log, each one in a new row, would be even better. I like this idea by the way. I would use it as well.
Original thread: https://forums.rpgmakerweb.com/threads/enemy-attacks-in-battle-log.168890/