Variable to prevent layer selection until audio completes
I have a slide in a course I am building and this slide has a base layer and then five layers that are selected by clicking on a corresponding object in the base layer. It is actually from a nifty template I downloaded from this site.
I have audio on the base layer and on each of the layers that are selectable. I want to make it so once they land on the page from the previous page, the base layer audio starts and they cannot select the next layer until the base layer audio completes. Then I want to make it so that they can't the second layer until the first layer's audio completes, and so on down the line. Then, I want to make sure they cannot use the "Next" button to advance until the audio on Layer 5 has completed.
I can't seem to get the variables right for this. I have attached the .story file and would appreciate suggestions!