I've searched the forum, the FAQ, the scripts available, script tutorials available... No success.. On a very basic script question!
Anyways, to the point. I have a tiny little script that when West enters the trigger, it activates the script. It plays music, loops it when it finishes. But when the area has been cleared of Russians it should end.
To clear things up, this is what I have so far:
#loop
<CONDITION GOES HERE>: goto #fade
0 fademusic 0.5
playmusic "battle1";
~60
goto #loop
#fade
5 fademusic 0.0
exit
Trigger: East -- Not Present
OnActivation: Clear = true
"Clear = true" should be the condition that makes the script jump to #fade. I have no idea how to make this condition, altough it seems too easy.
Any suggestions, or suggestions to improve this simple script?