I was wondering for those familiar with Ruby Scripting if there was a way to delay the Battle BGM from playing until the Battle Start animation was done. Say if I wanted to have the animation play, it cuts the area bgm as normal, but it waits until the animation is finished and a battle begins before starting the bgm. I wanted to know if there was a way to do this without adding a prominent silence at the beginning of the track file, as I didn't want to have a really weird loop during battle.
About Battle Start and All That,
RGSS3 Script RequestsTry to put this short script into your script editor
Code:
class Scene_Map
def pre_battle_scene
Graphics.update
Graphics.freeze
@spriteset.dispose_characters
BattleManager.save_bgm_and_bgs
#BattleManager.play_battle_bgm
Sound.play_battle_start
end
end
class Scene_Battle
alias start_bgm_delay start
def start
start_bgm_delay
BattleManager.play_battle_bgm
end
end
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
Thank you!
If you don't mind, I made a quick edit for the effect I was thinking of:
This was very helpful, and I wish you a good day.
Original thread: https://forums.rpgmakerweb.com/threads/about-battle-start-and-all-that.56919/