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

  1. symbols
  2. message        startup
  3. message        entered
  4. message        crossed
  5.  
  6. sector         sector1        linkid=1
  7. sector         sector4        linkid=4
  8. sector         sector8        linkid=8
  9.  
  10.  
  11.  
  12. end
  13.  
  14. # ========================================================================================
  15.  
  16. code
  17. startup:
  18.      ca1=0;
  19.      ca4=0;
  20.      ca8=0;
  21.      return;
  22.      
  23. entered:
  24.      if ( (getsenderid()==1)&&(ca1==0) ) {
  25.           print("playing line 1");
  26.           ca1=1;
  27.           if (getdifficulty()==0) dwPlayCammySpeech(16001, "t4ca001.wav", 30, 3);    
  28.           else if (getdifficulty()==2) dwPlayCammySpeech(16003, "t4ca003.wav", 30, 3);          
  29.      }
  30.      if ( (getsenderid()==4)&&(ca4==0) ) {   
  31.           print("playing line4");
  32.           ca4=1;
  33.           dwPlayCammySpeech(16004, "t4ca004.wav", 20, 3);             
  34.      }          
  35.      if ( (getsenderid()==8)&&(ca8==0) ) {
  36.           ca8=1;
  37.           if (getdifficulty()==2) dwPlayCammySpeech(16009, "t4ca009.wav", 15, 3);           
  38.      }
  39.  
  40.      return;
  41.  
  42.  
  43. end
  44.  
  45.