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

  1. symbols
  2. message        startup
  3. message        entered
  4. message        crossed
  5.  
  6. sector         sector1        linkid=1
  7. sector         sector4        linkid=3
  8.  
  9. end
  10.  
  11. # ========================================================================================
  12.  
  13. code
  14. startup:
  15.      ca1=0;
  16.      ca3=0;
  17.      ca8=0;
  18.      return;
  19.      
  20. entered:
  21.      if ( (getsenderid()==1)&&(ca1==0) ) {
  22.           print("playing line 1");
  23.           ca1=1;
  24.           if (getdifficulty()==0) dwPlayCammySpeech(16001, "t6ca001.wav", 30, 2);            
  25.           else if (getdifficulty()==1) dwPlayCammySpeech(16008, "t6ca004.wav", 15, 2);      
  26.      }
  27. //     if ( (getsenderid()==3)&&(ca3==0) ) {   
  28. //          print("playing line4");
  29. //          ca4=1;
  30. //          dwPlayCammySpeech(16003, "t1ca005.wav", 20, 2);             
  31. //     }          
  32.      return;
  33.  
  34.  
  35. end
  36.  
  37.