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

  1. # Jedi Knight Cog Script
  2. #
  3. # 00_Door.cog
  4. #
  5. # Generic Door Script
  6. #
  7. # [IS]
  8. #
  9. # (C) 1997 LucasArts Entertainment Co. All Rights Reserved
  10. # ========================================================================================
  11.  
  12. symbols
  13. message        startup
  14.  
  15. thing          ghostobj1a
  16. thing          ghostobj1b
  17. thing          ghostobj1c
  18.  
  19. thing          ghostobj2a
  20. thing          ghostobj2b
  21. thing          ghostobj2c
  22.  
  23. thing          ghostobj3a
  24. thing          ghostobj3b
  25. thing          ghostobj3c
  26.  
  27. flex           color1=1
  28. flex           color2=2
  29. flex           color3=3
  30.  
  31. flex           radius=1.005
  32.  
  33. surface        hitsurface     mask=0x100        
  34. end
  35.  
  36. # ========================================================================================
  37.  
  38. code
  39. startup:
  40.      beam1a=addlaser(ghostobj1a, color1, radius);
  41.      beam1b=addlaser(ghostobj1b, color2, radius);
  42.      beam1c=addlaser(ghostobj1c, color3, radius);
  43.      beam2a=addlaser(ghostobj2a, color1, radius);
  44.      beam2b=addlaser(ghostobj2b, color2, radius);
  45.      beam2c=addlaser(ghostobj2c, color3, radius);
  46.      beam3a=addlaser(ghostobj3a, color1, radius);
  47.      beam3b=addlaser(ghostobj3b, color2, radius);
  48.      beam3c=addlaser(ghostobj3c, color3, radius);
  49.      return;
  50.      
  51.  
  52.  
  53.  
  54. end
  55.  
  56.