Auto Battle BGM - KageDesu/Alpha-ABS-Z GitHub Wiki
⚠️ Information actual for version 0.9.2 and above
You can setup auto battle music. That music will starts when player engane in battle and automatically ends after. The main feature of this mode is that the music playing earlier (default map BGM) will be replays from the previous position (not from start again), which allows you to create a smooth music change
Plugin parameter Battle Auto BGM
allows you setup default sound when player engage in any fight.
If you don't want that feature, just leave Name
field empty (not set any music)
You can specify battle music for any map via notetag <battleAutoBgm:NAME>
You can manually start (stop) music for certain battle via script calls:
uAPI.playBattleBgm(NAME, DELAY);
uAPI.stopBattleBgm(DELAY);
Where: DELAY - optional, delay before music change (fade in/out) in SECONDS
Example: uAPI.playBattleBgm("Battle4", 1.5);