<aside> ⚡ Script "core_bossmusicstate" (int Mode, int MusicToValue)
</aside>
This script is a catch all script for interacting with default stage music, boss music, intense music, and victory music. Its behavior changes depending on the Mode
parameter.
Mode
: int - Dictates the behavior of the script. Below are valid modes:
BMSF_GETSTATE
(0): Get the value stored as the boss music stateBMSF_SETVAL
(1): Set the value stored in the boss music state, do not change the musicBMSF_SETVALMUS
(2): Set the value stored in the boss music state and change the musicBMSF_GETINTENSE
(3) : Get whether the intense music is currently playingBMSF_SETINTENSE
(4): Set the intense music to playMusicToValue
: int - When using the BMSF_SETVAL
or BMSF_SETVALMUS
as the mode, the following values are accepted:
BMS_STAGE
(0): No boss music playingBMS_BOSS
(1): Boss music playingBMS_VICTORY
(2): Victory music playingBMS_DISABLE
(100): Disables boss music system<aside>
💡 If intending to use BMS_SETVAL
with BMS_DISABLE
in an OPEN
script, you should have a Delay(1)
at the beginning of your script to have it execute after the internal OPEN
script which manages these values.
</aside>
If using BMSF_GETSTATE
, this script will return the current boss music state, with 0 meaning stage music, 1 meaning boss music, and 2 meaning victory music. If using BMSF_GETINTENSE
, this script will return true if the intense music is playing, false otherwise.