home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 52 / ClassicFond52.iso / GAMES / DROIDW.RAR / DWCD.GOB / mission_cog_05_camhelp.cog < prev    next >
Encoding:
Text File  |  1998-11-04  |  1.8 KB  |  68 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         sector11       linkid=11
  10. sector         sector12       linkid=12
  11. sector         sector14       linkid=14
  12. sector         sector15       linkid=15
  13. sector         sector16       linkid=16
  14.  
  15. end
  16.  
  17. # ========================================================================================
  18.  
  19. code
  20. startup:
  21.      ca1=0;
  22.      ca3=0;
  23.      ca4=0;
  24.      ca11=0;
  25.      ca12=0;
  26.      ca14=0;
  27.      ca15=0;
  28.      ca16=0;
  29.      return;
  30.      
  31. entered:
  32.      if ( (getsenderid()==1)&&(ca1==0) ) {
  33.           print("playing line 1");
  34.           ca1=1;
  35.           if (getdifficulty()==0) dwPlayCammySpeech(16001, "FMca001.wav", 30, 2);            
  36.           else if (getdifficulty()==1) dwPlayCammySpeech(16008, "FMca004.wav", 15, 2);      
  37.      }
  38.      if ( (getsenderid()==3)&&(ca3==0) ) {
  39.           print("playing line 3");
  40.           ca3=1;
  41.           dwPlayCammySpeech(16003, "FMca003.wav", 30, 2);            
  42.      }
  43.      if ( (getsenderid()==4)&&(ca4==0) ) {
  44.           print("playing line 4");
  45.           ca4=1;
  46.           dwPlayCammySpeech(16004, "FMca004.wav", 30, 2);            
  47.      }
  48.      if ( (getsenderid()==11)&&(ca11==0) ) {
  49.           print("playing line 3");
  50.           ca11=1;
  51.           dwPlayCammySpeech(16011, "FMca011.wav", 30, 2);            
  52.      }
  53.      if ( (getsenderid()==12)&&(ca12==0) ) {
  54.           print("playing line 3");
  55.           ca12=1;
  56.           dwPlayCammySpeech(16012, "FMca012.wav", 30, 2);            
  57.      }
  58.      if ( (getsenderid()==14)&&(ca14==0) ) {
  59.           print("playing line 14");
  60.           ca14=1;
  61.           dwPlayCammySpeech(16014, "FMca014.wav", 30, 2);            
  62.      }
  63.      return;
  64.  
  65.  
  66. end
  67.  
  68.