home *** CD-ROM | disk | FTP | other *** search
/ Hráč 1997 December / Hrac_16_1997-12_cd.bin / DEMA / Zgi_demo / DATA / SCRIPTS.ZFS / gary.scr < prev    next >
Text File  |  1997-09-04  |  3KB  |  130 lines

  1. # Node gary generated on Thu Sep 04 16:18:36 1997
  2. world g
  3. room a
  4. nodeview ry
  5.  
  6. puzzle:01000 {    # gary_disable_all_gary
  7.     criteria {
  8.         [00008] = 112    # KeyPress
  9.     }
  10.     criteria {
  11.         [00008] = 116    # KeyPress
  12.     }
  13.     criteria {
  14.         [00018] = 1    # mouse_rightclick
  15.     }
  16.     criteria {
  17.         [00008] = 117    # KeyPress
  18.     }
  19.     criteria {
  20.         [00008] = 118    # KeyPress
  21.     }
  22.     results {
  23.         action:assign(00008, 0)    # KeyPress
  24.         action:assign(00018, 0)    # mouse_rightclick
  25.         action:assign(01000, 0)    # gary_disable_all_gary
  26.     }
  27.     flags {
  28.         once_per_inst
  29.     }
  30. }
  31.  
  32. puzzle:01001 {    # gjre_screenset
  33.     criteria {
  34.     }
  35.     results {
  36.     }
  37.     flags {
  38.         once_per_inst
  39.         do_me_now
  40.     }
  41. }
  42.  
  43. puzzle:01002 {    # gary_initial_setup
  44.     criteria {
  45.     }
  46.     results {
  47.         action:assign(00198, 1)    # SPELL_8_IN_BOOK
  48.         action:assign(00152, 83)    # INV_SLOT_2
  49.         action:assign(01003, 1)    # user_is_user
  50.         action:assign(01004, 1)    # user_has_lantern
  51.         action:assign(01005, 1)    # uc3e_rezrov_door
  52.     }
  53. }
  54.  
  55. puzzle:01006 {    # gary_screenset
  56.     criteria {
  57.     }
  58.     results {
  59.         action:set_screen(u000f011.tga)
  60.         action:menu_bar_enable(5)
  61.         action:music:01007(1 gjmbh01q.raw 0 100)    # gary_shring
  62.     }
  63.     flags {
  64.         once_per_inst
  65.         do_me_now
  66.     }
  67. }
  68.  
  69. puzzle:01008 {    # gary_start_game_puz
  70.     criteria {
  71.         [01009] = 1    # gary_new_game_hotspot
  72.     }
  73.     results {
  74.         action:assign(01010, 1)    # gary_start_music
  75.         action:assign(01009, 0)    # gary_new_game_hotspot
  76.         action:dissolve()
  77.         action:change_location(p, c, 30, 868)
  78.     }
  79.     flags {
  80.         once_per_inst
  81.     }
  82. }
  83.  
  84. puzzle:01011 {    # gary_restore_puz
  85.     criteria {
  86.         [01012] = 1    # gary_restore_game_hotspot
  87.     }
  88.     results {
  89.         action:assign(01012, 0)    # gary_restore_game_hotspot
  90.         action:dissolve()
  91.         action:change_location(g, j, re, 0)
  92.     }
  93.     flags {
  94.         once_per_inst
  95.     }
  96. }
  97.  
  98. puzzle:01013 {    # gary_quit_puz
  99.     criteria {
  100.         [01014] = 1    # gary_quit_hotspot
  101.     }
  102.     results {
  103.         action:assign(01014, 0)    # gary_quit_hotspot
  104.         action:assign(01013, 0)    # gary_quit_puz
  105.         action:quit()
  106.     }
  107.     flags {
  108.         once_per_inst
  109.     }
  110. }
  111.  
  112. control:01009 push_toggle {    # gary_new_game_hotspot
  113.     flat_hotspot(28, 269, 122, 42)
  114.     cursor(active)
  115. }
  116.  
  117. control:01012 push_toggle {    # gary_restore_game_hotspot
  118.     flat_hotspot(484, 270, 124, 43)
  119.     cursor(active)
  120. }
  121.  
  122. control:01014 push_toggle {    # gary_quit_hotspot
  123.     flat_hotspot(260, 296, 123, 42)
  124.     cursor(active)
  125. }
  126.  
  127. control:01015 flat {    # gary_flat
  128. }
  129.  
  130.