Jump to content

Recommended Posts

How do I script the cawnival music to stop playing when the player is out of range? The seasons music_work theme only continues if I'm out of range from the cawnival and the time of day changes, once I'm in range it just plays forever. I want to keep the mod music on continuous without switching to play only when working.

local function StartCarnivalMusic(player, is_game_active)
    if _dangertask ~= nil or (_busytask ~= nil and _busytheme == BUSYTHEMES.CARNIVAL_MINIGAME and not is_game_active) then
        return
    end

dynamicmusic.lua

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...