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

  1. #-----------------------------------------------------------------------------
  2.  
  3. symbols
  4. message        startup
  5. message        user0               //time to sleep
  6. message        entered
  7. message        timer
  8. message        pulse
  9.  
  10. sector         trapsector
  11.  
  12. thing          AD
  13.  
  14. flex           sleeptime=10.0
  15.  
  16. vector         target         local
  17.  
  18.  
  19. end
  20.  
  21.  
  22. code
  23. startup:
  24. //     xVector=('7.1, 4.20152, .817365');
  25.      player=getlocalplayerthing();
  26. //     setpulse(1);
  27.      return;
  28.      
  29. user0:
  30. //     print("time to sleep");
  31. //     AIclearmode(AD, 0xffff);
  32. //     setpulse(0.1);
  33. //     AIsetmode(AD, 0x2000);
  34. //     settimer(14);
  35.      return;
  36.      
  37.  
  38. pulse:
  39.      print("AI mode is");
  40.      printflex(AIgetmode(AD));
  41. //     setpulse(0);
  42. //     print("time to wake up");
  43. //     AIclearmode(AD, 0x2000);
  44. //     AIsetmode(AD, 0x4);
  45.  
  46.      return;
  47.  
  48.  
  49.      
  50.  
  51. end
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.