home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 52 / ClassicFond52.iso / GAMES / DROIDW.RAR / DWCD.GOB / mission_cog_t2_camhelp.cog < prev    next >
Encoding:
Text File  |  1998-11-04  |  1.5 KB  |  59 lines

  1. symbols
  2. message        startup
  3. message        entered
  4. message        crossed
  5.  
  6. sector         sector1        linkid=1
  7. sector         sector3        linkid=3
  8. sector         sector4        linkid=4
  9. sector         sector7        linkid=7
  10. sector         sector8        linkid=8
  11.  
  12.  
  13.  
  14. end
  15.  
  16. # ========================================================================================
  17.  
  18. code
  19. startup:
  20.      ca1=0;
  21.      ca3=0;
  22.      ca4=0;
  23.      ca7=0;
  24.      ca8=0;
  25.      if (getdifficulty()==0) dwPlayCammySpeech(16000, "t2ca001.wav", 30, 2);
  26.      else dwPlayCammySpeech(16002, "t2ca004.wav", 30, 2);
  27.      return;
  28.      
  29. entered:
  30.      if ( (getsenderid()==1)&&(ca1==0) ) {
  31.           print("playing line 1");
  32.           ca1=1;
  33.           dwPlayCammySpeech(16001, "t2ca002.wav", 30, 2);            
  34.      }
  35.      if ( (getsenderid()==3)&&(ca3==0) ) {   
  36.           print("playing line3");
  37.           ca3=1;
  38.           dwPlayCammySpeech(16003, "t1ca005.wav", 20, 2);             
  39.      }             
  40.      if ( (getsenderid()==4)&&(ca4==0) ) {   
  41.           print("playing line4");
  42.           ca4=1;
  43.           dwPlayCammySpeech(16004, "t2ca006.wav", 20, 2);             
  44.      }               
  45.      if ( (getsenderid()==7)&&(ca7==0) ) {   
  46.           print("playing line4");
  47.           ca4=1;
  48.           dwPlayCammySpeech(16007, "t2ca007.wav", 20, 2);             
  49.      }   
  50.      if ( (getsenderid()==8)&&(ca8==0) ) {
  51.           ca8=1;
  52.           dwPlayCammySpeech(16008, "t2ca008.wav", 15, 2);           
  53.      }
  54.      return;
  55.  
  56.  
  57. end
  58.  
  59.