Scene to Scene Audio Question

CaptFinnCaptFinn Member Posts: 1,828
edited November -1 in Working with GS (Mac)
How can I tell the audio to stop playing on scene 3. If the person navigate to another scene before the audio has stopped playing.

Example Scene 3 has a image of a zebra. When you come to scene 3 audio plays saying this is a zebra. But before the audio has finished playing the user navigate to say scene 5. My audio is still playing when I leave the scene. and if I go to Scene 3 then go to scene 5 and then back to scene 3 real quick. the audio starts playing a 2nd time while the audio from the first visit is still playing.

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    You could have a boolean call it StopSound...when you press the button to go to another scene make this true.

    Then in the rule for the music to play do if StopSound is false play music/sound.

    Darren.

    image
Sign In or Register to comment.