Skip to content

Auto Battle BGM

Pheonix KageDesu edited this page Sep 13, 2025 · 3 revisions

⚠️ Information actual for version 0.9.2 and above

⚠️ For version 0.11 and above, check extension guide

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)

Battle Auto BGM PP

You can specify battle music for any map via notetag <battleAutoBgm:NAME> Battle Auto BGM Map Note


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);

Clone this wiki locally