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

  1. symbols
  2. message        startup
  3. message        entered
  4. message        crossed
  5.  
  6. sector         sector1        linkid=1
  7. sector         sector2        linkid=2
  8. sector         sector5        linkid=5
  9. sector         sector20        linkid=20
  10.  
  11. end
  12.  
  13. # ========================================================================================
  14.  
  15. code
  16. startup:
  17.      ca1=0;
  18.      ca2=0;
  19.      ca5=0;
  20.      ca20=0;
  21.      return;
  22.      
  23. entered:
  24.      if ( (getsenderid()==1)&&(ca1==0) ) {
  25.           print("playing line 1");
  26.           ca1=1;
  27.           dwPlayCammySpeech(16001, "m2ca001.wav", 30, 2);              
  28.      }
  29.      if ( (getsenderid()==2)&&(ca2==0) ) {
  30.           print("playing line 2");
  31.           ca2=1;
  32.           dwPlayCammySpeech(16002, "m2ca002.wav", 30, 2);              
  33.      }     
  34.      if ( (getsenderid()==5)&&(ca5==0) ) {
  35.           print("playing line 5");
  36.           ca5=1;
  37.           dwPlayCammySpeech(16005, "m2ca005.wav", 30, 2);            
  38.      }
  39.      if ( (getsenderid()==20)&&(ca20==0) ) {
  40.           print("playing line 20");
  41.           ca20=1;
  42.           dwPlayCammySpeech(16020, "m2ca020.wav", 30, 2);            
  43.      }
  44.      return;
  45.  
  46.  
  47. end
  48.  
  49.