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

  1. symbols
  2. message        startup
  3. message        entered
  4.  
  5. sector         sector1        linkid=1
  6. sector         sector2        linkid=2
  7. sector         sector3        linkid=3
  8.      
  9. end
  10.  
  11. # ========================================================================================
  12.  
  13. code
  14. startup:
  15.      ca1=0;
  16.      ca2=0;
  17.      ca3=0;
  18.      return;
  19.      
  20. entered:
  21.      if ( (getsenderid()==1)&&(ca1==0) ) {
  22.           ca1=1;
  23.           dwsetreftopic("counter.tpc");
  24.      }
  25.      if ( (getsenderid()==2)&&(ca2==0) ) {
  26.           ca2=1;
  27.           dwsetreftopic("Gear.tpc");
  28.      }     
  29.      if ( (getsenderid()==3)&&(ca3==0) ) {
  30.           ca3=1;
  31.           dwsetreftopic("Wheel.tpc");
  32.      }       
  33.      return;
  34.      
  35.  
  36.  
  37. end
  38.  
  39.