Hey, I just got a request for this, and since I just wrote it out I thought I might as well put this out for everyone else.
Here's a video of it in action:
http://www.youtube.com/watch?v=Tif3pKB5APQ These scripts will initialize a variable which changes once per tick between 3 values (0, 1, and 2). Whenever you want to start the music, you can insert the corresponding part of the code by just taking everything out of the startup script 'chooser' and pasting it into your main script.
You'll have to do some set up if you want the battle music though. I've supplied one block, but you'll need a separate block for each encounter. The block basically waits until they're alerted, then sets a variable to 'true'.
Then I have a continuous script that checks if the var is 'true', and then calls the battle music script.
I explain pretty much everything in the actual .rtf, but let me know if you have any questions, since I did this really quickly and there might be problems. I'll put this up on halomaps soon, but for now, just get it from my mediafire:
http://www.mediafire.com/edit/?rjracyehay9gx05 E: Color-coded some more stuff, and fixed it up a bit more.
Edited by UnevenElefant5 on Sep 24, 2013 at 01:10 PM