Hi,
How can I prevent vehicles from changing the background music?
I've tried looking for plugins, but can't really find anything that fixes this problem.
Thanks!
That worked, thanks! Really appreciate the help.
Actually I spoke too soon. This script seems a bit bugged, because if you traverse on boat from one map to another, it doesn't change the music to the new map's music.
That is a known bug, and there are scripts/plugins (I think) that fix it.
To stop vehicles changing BGM, did you try just setting the Boat/Ship/Airship music to (none) in the System tab? Did that stop the change and leave the existing BGM playing, or did it just stop the existing BGM but play nothing else?
you could work around this with some eventing.
transfer event:
darken screen
if character on boat
> switch on: boat
> exit boat
if character on airship
> switch on: airship
> exit airship
switch on: transfer
transfer to new map
map loading event
autorun
req switch: transfer
if switch on: boat
>board boat
>turn off switch: boat
if switch on: airship
>board airship
>turn off switch: airship
screen brightness reset
turn off switch: transfer