How to change custom music in events?
Posted: Sun Sep 08, 2019 5:15 pm
Forums for SMBX
Code: Select all
function onEvent(eventName) if(eventName == "Start Boss Music") then Audio.MusicChange(player.section, "boss-music.ogg") end end
It looks fine on the prosilver theme. The SMBX forum theme has been busted for a year or so regarding the code block. I've resorted to just not using it and ditching indenting in favour of multiple lines.