Forum rules - please read before posting.

Overriding option "Music can play while game is paused" during runtime?

Hi,

Does anyone know if there's a way to override music being played while paused if the option "Music can play while game is paused?" is enabled in the Music Storage window? I was able to make a custom action that toggles this checkbox during runtime, but if toggled off the music will still play while paused for the current session. However, if I stop the game and play again it will work, stopping the music when the game is paused. Is there a way to toggle this option and make it stick during the current play session?

Thanks

Comments

  • This field's value is copied over to the Music component when spawned. You'll still need to update the original field, but try also updating the Music instance:

    AC.KickStarter.music.playWhilePaused
    
  • It works, thanks!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.