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

  1. # Droids Cog Script
  2. #
  3. # D0_skyway.cog
  4. #
  5. # Goals for catapult 
  6. #
  7. #
  8. #
  9. # [MT]                                              
  10. #
  11. #
  12. # (C) 1997 LucasLearningLimited. All Rights Reserved
  13.  
  14.  
  15.  
  16. symbols                     
  17. message        startup
  18. message        shutdown
  19.  
  20. message        entered
  21. message        user4
  22. sector         controlroom
  23.  
  24. end
  25.  
  26. ## Code Section
  27. code    
  28.  
  29. startup:
  30.      player=getlocalplayerthing();
  31.      if (dwCheckDroidCaps(16)!=0) SetInv(player, 3, 1);       
  32.      if (dwCheckDroidCaps(8)!=0) SetInv(player, 4, 1);            
  33.      return;
  34.      
  35. entered:
  36.      print("goal 1");
  37.      SetInv(player, 1, 1);
  38.      return;
  39.      
  40. user4:
  41.      print("goal 2");
  42.      SetInv(player, 2, 1);
  43.      return;
  44.      
  45.  
  46.      
  47.  
  48.                  
  49. end
  50.  
  51.  
  52.  
  53.  
  54.