Forum Discussion
Stopping Background Music when Layer changes (it's not working)
My escape room has background music that I use a trigger for whenever the users returns to the page. That is working fine.
I added an additional trigger to stop the audio when all the states change to visited on my transparent objects which also then triggers the 'Escape' layer.
The Escape layer also has audio but is also playing the background music from the main page so that audio is lost.
I have tried adding a Stop Audio trigger to the main page and the layer but it doesn't seem to work.
I have also tried re-ordering the Stop trigger but it doesn't seem to be able t move much.
Do I just give up and remove the background music?
3 Replies
- KendalRasnake-1Community Member
You can try using a trigger that executes the action on the condition that all the variables for the button shapes equal True. For example, if you want the audio to stop only after all the buttons have been visited. You can try a trigger such as, Stop audio when the timeline starts on the condition that each of the variables equals True.
- KendalRasnake-1Community Member
I personally don't trust Storyline to recognize the Visited states of multiple buttons in order to execute an action. You might want to try having a True/False variable become triggered to True when all the buttons are pressed, and then adding the trigger to stop the audio if the variable is True.
If this solves the problem for you, please mark it as solved. Otherwise, feel free to ask a follow-up question.
- NikkiClaytonCommunity Member
Thank you for your reply. I have created the variables on each shape. Do I then create a separate trigger for of the 10 shapes and it won't matter which order they are clicked on?
Related Content
- 7 months ago
- 9 months ago
- 7 months ago
- 8 months ago