If you want a play a sound (the same sound) at the end of every round, it's easy. First thing to do is make sure you have added the sound (press the New Sound button, give the sound a name, and locate the actual audio file):
- Press the New Event button
- Select "Choose a pre-defined event", then select "Level end" from the list of pre-defined events; press OK
- The New Event dialog opens. In the Actions section, you will see one action already defined ("Play sound: final"). Edit that action by double-clicking it
- In the "Play sound" selection, select your sound. Press OK. Press OK
- You will get a warning that says you have not selected any conditions. Press Yes
If you want to play a different sound at the end of each round, there are 2 ways to go about this. One is much simpler, while the other is a little more foolproof.
First (simpler) method:
- Follow the instructions above, but don't press the final OK button to close the dialog yet
- Add a new action for each sound. Add them in the correct order (the sound you want to play at the end of the first round should be first in the list, the sound you want to play at the end of the second round should be second, etc)
- Press the Action Settings button
- In the Sounds section, select "Play the next sound in order"
- Press OK, press OK
The only drawback to this method is that if for any reason you have to manually move ahead or back in the rounds schedule, they won't be sync'ed properly to the corresponding rounds anymore. To fix this, you'd need to edit the event and uncheck (or check) the "Performed" box next to the appropriate actions. For example, if it is currently round 5 and you edit the event, the "Performed" checkbox should be checked for actions 1 through 4, because the event has fired 4 times so far (at the end of levels 1, 2, 3, and 4). So it will perform action 5 next time the event is triggered. If you skip ahead to round 6, you'll need to check the box next to the 5th action, so when the event is triggered at the end of round 6, it performs the 6th action (plays the 6th sound). Likewise, if you go back to round 4, you'll want to uncheck the box next to the 4th action.
Second method:
- Follow the first set of instructions above, but don't press the final OK button to close the dialog yet
- In the Conditions section, enter:
roundNum = 1
- Press OK
- Repeat steps again. When you add your action, set the action to play the sound for the end of your 2nd round
- In the Conditions section, enter:
roundNum = 2
- Press OK
- Repeat steps again. When you add your action, set the action to play the sound for the end of your 3rd round
- In the Conditions section, enter:
roundNum = 3
- Press OK
- Continue for the rest of your rounds
The benefit to this method is that skipping around in the rounds schedule won't have any effect. The events will be properly triggered at the end of their corresponding rounds. The drawback is that it's a pain to setup. But once you've set it up, save it as a template and you're done.