Scripting (Daedalus)
The plugin defines several external functions that let us interact with the Music Engine from Daedalus scripts. The full list of available functions can be found in the Reference page, and here we will cover only the "Full Script Control" mode.
Full Script Control
You can enable the Full Script Control mode in scripts to disable automatic music scheduling based on music zones and play your own music themes without any interference from the standard mechanism.
When the Full Script Control mode is enabled, the plugin will not play any music themes automatically and you
have to do it yourself using the BassMusic_Play
function.
When you are done with the custom music playback, you can disable the Full Script Control mode and get the original schedulers back.
Global variables
You can access currently playing music theme using global variables.
Events
You can handle some music events in the scripts by registering a callback function.
OnEnd
OnTransition
OnChange
Options
Some .ini options can be set from the scripts. It may be useful if you are taking full control over the music playback.