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

  1. # Jedi Knight Cog Script
  2. #
  3. # CC_Mirror.cog
  4. #
  5. # Generic Mirror control Script
  6. #
  7. # 03/17/98 DGS Created
  8. #
  9. #Desc:
  10. # cog designed to keep the doors from being able to be cut.
  11. # (C) 1998 Lucas Learning Limited All Rights Reserved
  12. # ========================================================================================
  13.  
  14. symbols
  15. message            startup
  16. message            entered
  17.  
  18. ## ========================= Things
  19. sector            sector0
  20. sector            sector1
  21. sector            sector2
  22. sector            sector3
  23. sector            sector4
  24. sector            sector5
  25. sector            sector6
  26.  
  27. int                say0=0        local
  28. int                say1=0        local
  29. int                say2=0        local
  30. int                say3=0        local
  31. int                say4=0        local
  32. int                say5=0        local
  33. int                say6=0        local
  34. sound          goalsound=00tAccomplish.wav        local
  35. end
  36.  
  37. # ========================================================================================
  38.                     
  39. code
  40. startup:
  41.     dwsetreftopic("Light.tpc");
  42.     sleep(1);
  43.     if (getdifficulty() == 0) //++++++++++++++++++ EASY
  44.         {
  45.         dwPlayCammySpeech(17200, "T8ca001.wav", 10, 3);
  46.         }
  47.     return;
  48. entered:
  49.     
  50.     if (getsenderref() == sector0)
  51.         {
  52.         if  ( (!dwCheckDroidCaps(32)) && (!dwCheckDroidCaps(262144)) )
  53.             {
  54.             if (say0 == 0)
  55.                 {
  56.                 say0 = 1;
  57.                 dwPlayCammySpeech(17201, "T8ca003.wav", 10, 3);
  58.                 print("say0");
  59.                 }
  60.             }
  61.         }
  62.     return;
  63.     
  64. end
  65.  
  66.