Just replace the switches with death counters.
Force 1
Conditions:
MusicOn is Set
Current Player has suffered at least 1 deaths of unused unit.
Actions:
Play Wav.
Set Deaths for Current Player: Set to 0 for unused unit.
Set Deaths for Computer: Set to 0 for unused unit.
Preserve Trigger
(For a Computer, or player with limited Waits)
Conditions:
MusicOn is Set
Current Player has suffered at least 0 deaths of unused unit.
Actions:
Wait xxx milliseconds
Set Deaths for Force 1: Set to 1 for unused unit.
Set Deaths for Current Player: Set to 1 for unused unit.
Preserve Trigger
Or something like that. I never use music.
