I would like my games to have a panic music during battle when there is only one surviving party member alive and their health is below 40%.
Ideally, I would like the script to check how many party members are alive, and if there is only a single party member alive and that party member's health is below 40%, the game will play a "panic" music until the situation is resolved.
When there is a last man standing, and their health is below 40%, the script should save the current battle BGM, and then play a BGM defined within the script by file name. Once that party member is back above 40% or they resurrect another party member, the battle BGM should then return to the normal battle BGM that was saved prior to the change. By saving the BGM first, this would likely make it compatible with Hime's Troop Battle BGM, or changes in battle BGM mid-battle when it comes to phases.
Alternatively, instead of the last surviving party member getting their health back up to 40%, the panic music could be designed to only resolve when that party member's health is back to full or they resurrect another party member, as a last man standing in my RPGs is very dangerous. However, this part is not a necessity, just an idea.
This is kinda meant to mimic Tetris Attack/Panel De Pon where there is a panic music when your stack is high, and it returns to normal music when the situation is resolved.
My old LARP from 2002 - 2012 had something like this and I kinda feel nostalgic for it, so I would like to see this in my games.
Could I get someone to whip something like this up for RPG Maker VX Ace? I would highly appreciate it. Please and thank you very much
Ideally, I would like the script to check how many party members are alive, and if there is only a single party member alive and that party member's health is below 40%, the game will play a "panic" music until the situation is resolved.
When there is a last man standing, and their health is below 40%, the script should save the current battle BGM, and then play a BGM defined within the script by file name. Once that party member is back above 40% or they resurrect another party member, the battle BGM should then return to the normal battle BGM that was saved prior to the change. By saving the BGM first, this would likely make it compatible with Hime's Troop Battle BGM, or changes in battle BGM mid-battle when it comes to phases.
Alternatively, instead of the last surviving party member getting their health back up to 40%, the panic music could be designed to only resolve when that party member's health is back to full or they resurrect another party member, as a last man standing in my RPGs is very dangerous. However, this part is not a necessity, just an idea.
This is kinda meant to mimic Tetris Attack/Panel De Pon where there is a panic music when your stack is high, and it returns to normal music when the situation is resolved.
My old LARP from 2002 - 2012 had something like this and I kinda feel nostalgic for it, so I would like to see this in my games.
Could I get someone to whip something like this up for RPG Maker VX Ace? I would highly appreciate it. Please and thank you very much