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

  1. # DroidWorks Cog Script
  2. #
  3. # 00_SectorThrust.cog
  4. #
  5. # Thrust it!
  6. #
  7. # Desc:
  8. #    Kind of like the JK Sectorthrust, but different, because I wrote it.     
  9. #     Each Sector pair is tied to a vector. They all share the same thrust value.
  10. #
  11. #     11/10/97 [DGS]    Added to Tree
  12. #                Added  extra vectors
  13. #
  14. symbols
  15. message        startup
  16. message        timer
  17. message        entered
  18.  
  19. sector         
  20. sector        intro    
  21. sector        ramps    
  22. sector        crates    
  23. sector        lift
  24. sector         dark
  25. sector         door
  26. sector         battery
  27. sector         dance
  28. sector         tugs
  29. sector         magnet
  30.              
  31.     
  32. end
  33.  
  34.  
  35. code
  36.  
  37. //-----------------------------------------------------------------------------
  38.  
  39. startup:
  40.      Sleep(1);
  41.      //dwsetmissiontext(16000);  //c:  welcome...
  42.      Sleep(1);
  43.      //dwsetmissiontext(16001);  //c:  there are many things to remember...  "?" key
  44.      Sleep(1);
  45.      //dwsetmissiontext(16100);
  46.      return;
  47.  
  48. entered:
  49.      
  50.      if (getthingsector(getlocalplayerthing()) == ramps)
  51.           {
  52.           //dwsetmissiontext(16006);
  53.           settimer(7);
  54.           print("ramps");
  55.           }
  56.           
  57.      if (getthingsector(getlocalplayerthing()) == crates)
  58.           {
  59.           //dwsetmissiontext(16007);
  60.           settimer(7);
  61.           print("crates");
  62.           }
  63.      
  64.       if (getthingsector(getlocalplayerthing()) == lift)
  65.           {
  66.           //dwsetmissiontext(16008);
  67.           settimer(7);
  68.           print("lift");
  69.           }
  70.  
  71.       if (getthingsector(getlocalplayerthing()) == dark)
  72.           {
  73.           //dwsetmissiontext(16012);
  74.           settimer(7);
  75.           print("dark");
  76.           }
  77.           
  78.       if (getthingsector(getlocalplayerthing()) == door)
  79.           {
  80.           //dwsetmissiontext(16013);
  81.           settimer(7);
  82.           print("door");
  83.           }
  84.  
  85.  
  86.      if (getthingsector(getlocalplayerthing()) == battery)
  87.           {
  88.           //dwsetmissiontext(16014);
  89.           settimer(7);
  90.           print("battery");
  91.           }
  92.           
  93.       //if (getthingsector(getlocalplayerthing()) == ramps)
  94.       //    {
  95.       //    dwsetmissiontext();
  96.       //    settimer(7);
  97.       //    print("ramps");
  98.       //    }
  99.  
  100.  
  101.      
  102.  
  103.  
  104.      
  105.           return;
  106.      
  107. timer:
  108.      dwsetmissiontext(00000);
  109.      return;
  110.      
  111. end
  112.