home *** CD-ROM | disk | FTP | other *** search
- symbols
- message user0
- message timer
-
- sound tenwav
- sound ninewav
- sound eightwav
- sound sevenwav
- sound sixwav
- sound fivewav
- sound fourwav
- sound threewav
- sound twowav
- sound onewav
-
- cog catapultcog
- cog EdroidCOG
- cog RdroidCOG
- sound thischeesywav=MCHt1CatRset.wav
- end
-
- code
- user0:
- print("countdown starting");
- jgs=10;
- // jgs=3;
- settimer(1);
- sendmessage(EdroidCOG, user4);
- sendmessage(RdroidCOG, user4);
- return;
-
-
- timer:
- if (jgs==10) {
- playsoundlocal(tenwav, 0.7, 0.0, 4);
- playsoundlocal(thischeesywav, 0.0, 0.0, 4);
- jgs=9;
- settimer(1);
- }
- else if (jgs==9) {
- playsoundlocal(ninewav, 0.7, 0.0, 4);
- jgs=8;
- settimer(1);
- }
- else if (jgs==8) {
- playsoundlocal(eightwav, 0.7, 0.0, 4);
- settimer(1);
- jgs=7;
- }
- else if (jgs==7) {
- playsoundlocal(sevenwav, 0.7, 0.0, 4);
- jgs=6;
- settimer(1);
- }
- else if (jgs==6) {
- playsoundlocal(sixwav, 0.7, 0.0, 4);
- jgs=5;
- settimer(1);
- }
- else if (jgs==5) {
- playsoundlocal(fivewav, 0.7, 0.0, 4);
- jgs=4;
- settimer(1);
- }
- else if (jgs==4) {
- playsoundlocal(fourwav, 0.7, 0.0, 4);
- settimer(1);
- jgs=3;
- }
- else if (jgs==3) {
- playsoundlocal(threewav, 0.7, 0.0, 4);
- jgs=2;
- settimer(1);
- }
- else if (jgs==2) {
- playsoundlocal(twowav, 0.7, 0.0, 4);
- jgs=1;
- settimer(1);
- }
- else if (jgs==1) {
- playsoundlocal(onewav, 0.7, 0.0, 4);
- settimer(1);
- jgs=0;
- }
- else if (jgs==0) {
- sendmessage(catapultcog, user0);
- sendmessage(EdroidCOG, user5);
- sendmessage(RdroidCOG, user5);
- print("sending launch message");
- }
- return;
-
- end
-
-
-