home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2006 April / SGP.iso / dema / Keepsake-Demo-en-li-v1.0.exe / res / scripts / gardenWatch.tcl < prev    next >
Text File  |  2005-12-06  |  22KB  |  690 lines

  1. ################################################################################
  2. #                                                                             ##
  3. #    file   gardenWatch.tcl                                                   ##
  4. #    brief  Events for the Garden Watch.                                      ##
  5. #                                                                             ##
  6. ################################################################################
  7.  
  8.  
  9. ## ===================================================== ##
  10. ##   Loading script from source                          ##
  11. ## ===================================================== ##
  12.  
  13. source "[AUTO]/gardenWatch.mvwrap.tcl"
  14. source "[PUZZLES]/gardenWatch.camera.tcl"
  15. source "[PUZZLES]/gardenWatch.puzzle.tcl"
  16.  
  17.  
  18. ## ===================================================== ##
  19. ##   Initialization                                      ##
  20. ## ===================================================== ##
  21.  
  22. event "init" {
  23.   ozSet "gardenWatchRoom" "visited"
  24.   setAudioEnv "room"
  25.   SetAmbient 3d sfx/dragonFountainLoop "227 71 157" 30 0 0.6
  26.  
  27.   SetAmbient 3d sfx/gardenPond "245 71 270" 30 1 0.6
  28. }
  29.  
  30.  
  31. ################################################################################
  32. ## ========================================================================== ##
  33. ##   DOOR BLOCKING & PUZZLE SECTION                                           ##
  34. ## ========================================================================== ##
  35. ################################################################################
  36.  
  37.  
  38. ## ===================================================== ##
  39. ##   Minotaur Maze Dispatcher                            ##
  40. ## ===================================================== ##
  41.  
  42. event "useMinotaurMaze" {
  43.   eventState [wizEventStart "useMinotaurMaze"]
  44.  
  45.   if { [ozGet "puzzleZak"] == "complete" } {
  46.     # Block 1
  47.     wizqQueue 2 {
  48.       oz'event {wizEntityStopFollow Zak}
  49.       wizqEntityMove Zak "290.6 86.1 270.2" "wait"
  50.       wizqEntityOrientation Zak 300
  51.       oz'event {wizEntityResumeFollow Zak}
  52.     }
  53.   }
  54.  
  55.   wizqEntityMove Lydia "281.208 86 262" "gardenWatch.minotaurMazeBehavior" 2
  56.  
  57.   wizqEventEnd "useMinotaurMaze"
  58. }
  59.  
  60.  
  61. ## ===================================================== ##
  62. ##   Minotaur Maze Dispatcher                            ##
  63. ## ===================================================== ##
  64.  
  65. event "minotaurMazeBehavior" {
  66.   if { [ozGet "puzzleZak"] == "complete" } {
  67.     # Block 1
  68.     wizqQueue 2 {
  69.       wizqEntityMove Zak "290.6 86.1 270.2" "wait"
  70.       wizqEntityOrientation Zak 300
  71.     }
  72.  
  73.     oz'event {wizEntityStopFollow Zak}
  74.   }
  75.  
  76.   oz'event {wizDisableMouse}
  77.   wizqEntityOrientation Lydia 280 "wait"
  78.   wizqEntitySetCycle Lydia standCycleNormal
  79.  
  80.   # Wait for Block 1
  81.   wizqWaitQueue 2
  82.  
  83.   chainCallEvent "minotaurMazePuzzle"
  84.  
  85.   oz'event {wizEnableMouse}
  86.   oz'event {wizEntityResumeFollow Zak}
  87. }
  88.  
  89.  
  90. ## ===================================================== ##
  91. ##   Minotaur Maze Dispatcher                            ##
  92. ## ===================================================== ##
  93.  
  94. event "minotaurMazePuzzle" {
  95.   if { [getVar "puzzleZak"] == "" } {
  96.     callEvent "mMazeAlone"
  97.  
  98.   } elseif { [getVar "puzzleZak"] == "complete" && [getVar "mMazePlay"] == "" } {
  99.     callEvent "mMazePlay"
  100.  
  101.   } elseif { [getVar "puzzleZak"] == "complete" && [getVar "mMazePlay"] == "ok" } {
  102.    callEvent "minotaurMazeZoomIn"
  103.    pzlmm::qInit
  104.   }
  105.   wizqEventEnd "useMinotaurMaze"
  106. }
  107.  
  108.  
  109. ## ===================================================== ##
  110. ##   Minotaur Maze Alone                                 ##
  111. ## ===================================================== ##
  112.  
  113. event "mMazeAlone" {
  114.   if { [getVar "mMazeAloneFirst"] == "" } {
  115.     callEvent "mMazeAloneFirst"
  116.  
  117.   } else {
  118.     callEvent "mMazeNoTime"
  119.   }
  120. }
  121.  
  122.  
  123. ################################################################################
  124. ## ========================================================================== ##
  125. ##   MOVEMENT                                                                 ##
  126. ## ========================================================================== ##
  127. ################################################################################
  128.  
  129.  
  130. # NONE FOR NOW
  131.  
  132.  
  133. ################################################################################
  134. ## ========================================================================== ##
  135. ## ANIMATION & SPECIAL CAMERA SECTION                                         ##
  136. ## ========================================================================== ##
  137. ################################################################################
  138.  
  139.  
  140. ## ===================================================== ##
  141. ##   Minotaur Maze Zoom In                               ##
  142. ## ===================================================== ##
  143.  
  144. event "minotaurMazeZoomIn" {
  145.   oz'track::play $::music_track "sound/music/mustavio.ogg" -repeat 1
  146.   wizqZoomIn "minotaurMazeCloseUp" "gardenWatch.minotaurMazeZoomOut"
  147.   wizhCameraChange
  148. }
  149.  
  150.  
  151. ## ===================================================== ##
  152. ##   Minotaur Maze Zoom Out                              ##
  153. ## ===================================================== ##
  154.  
  155. event "minotaurMazeZoomOut" {
  156.   oz'track::stop $::music_track
  157.   pzlmm::qQuit
  158.   wizqZoomOut "minotaurMaze"
  159.   chainEvent { hRemoveBack }
  160. }
  161.  
  162.  
  163. ## ===================================================== ##
  164. ##   alley Camera                                        ##
  165. ## ===================================================== ##
  166.  
  167. event "alley" {
  168.   wizEntityResumeFollow Zak
  169.   setCamera "alley"
  170.   wizhCameraChange
  171. }
  172.  
  173.  
  174. ## ===================================================== ##
  175. ##   garden Wtach Entrance Camera                        ##
  176. ## ===================================================== ##
  177.  
  178. event "gardenWatchEntrance" {
  179.   wizEntityResumeFollow Zak
  180.   setCamera "gardenWatchEntrance"
  181.   wizhCameraChange
  182. }
  183.  
  184.  
  185. ################################################################################
  186. ## ========================================================================== ##
  187. ##   NPC DIALOGUE SECTION                                                     ##
  188. ## ========================================================================== ##
  189. ################################################################################
  190.  
  191.  
  192. # NONE FOR NOW
  193.  
  194.  
  195. ################################################################################
  196. ## ========================================================================== ##
  197. ##   FORCED DIALOGUE SECTION                                                  ##
  198. ## ========================================================================== ##
  199. ################################################################################
  200.  
  201.  
  202. ## ===================================================== ##
  203. ##   Minotaur Maze Alone first time                      ##
  204. ## ===================================================== ##
  205.  
  206. event "mMazeAloneFirst" {
  207.   checkConversation "mMazeAloneFirst" {
  208.     chainEvent {
  209.       freezePlayer
  210.       wizDisableFloorevent
  211.       wizDisableMouse
  212.     }
  213.   
  214.     # Block 1
  215.     wizqQueue 1 {
  216.       chainEvent { delay 1500 }
  217.       wizqEntityAction Lydia standHandOnChin "wait"
  218.     }
  219.  
  220.     wizqTalkOpen
  221.     wizqTalkSay Lydia $::lng::mMazeAloneFirstL1   "sound/vo/$::LNG/scenes/gardenWatch/mMazeAloneFirstL1.ogg"
  222.     wizqTalkSay Lydia $::lng::mMazeAloneFirstL2   "sound/vo/$::LNG/scenes/gardenWatch/mMazeAloneFirstL2.ogg"
  223.     wizqTalkSay Lydia $::lng::mMazeAloneFirstL3   "sound/vo/$::LNG/scenes/gardenWatch/mMazeAloneFirstL3.ogg"
  224.     wizqTalkClose
  225.   
  226.     # Wait for Block 1
  227.     wizqWaitQueue 1
  228.  
  229.     chainEvent {
  230.       unfreezePlayer
  231.       wizEnableFloorevent
  232.       wizEnableMouse
  233.     }
  234.   }
  235. }
  236.  
  237.  
  238. ## ===================================================== ##
  239. ##   Minotaur Maze Alone No time                         ##
  240. ## ===================================================== ##
  241.  
  242. event "mMazeNoTime" {
  243.   wizqTalkOpen
  244.   wizqTalkSay Lydia $::lng::mMazeNoTimeL1   "sound/vo/$::LNG/scenes/gardenWatch/mMazeNoTimeL1.ogg"
  245.   wizqTalkClose
  246. }
  247.  
  248.  
  249. ## ===================================================== ##
  250. ##   Minotaur Maze Play                                  ##
  251. ## ===================================================== ##
  252.  
  253. event "mMazePlay" {
  254.   checkConversation "mMazePlay" {
  255.     chainEvent {
  256.       freezePlayer
  257.       wizDisableFloorevent
  258.       wizDisableMouse
  259.     }
  260.  
  261.     # Block 1
  262.     wizqQueue 1 {
  263.       chainEvent { wizEntityLookAt Zak [wizEntityGetPosition Lydia] }
  264.       chainEvent { delay 1000 }
  265.       wizqEntityAction Zak standYes "wait"
  266.     }
  267.     
  268.     # Block 1-B
  269.     wizqQueue 2 {
  270.       chainEvent { delay 1000 }
  271.       chainEvent { wizEntityLookAt Lydia [wizEntityGetPosition Zak] }
  272.     }
  273.     
  274.     wizqTalkOpen
  275.     wizqTalkSay Zak $::lng::mMazePlayZ1   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayZ1.ogg"
  276.  
  277.     # Wait for Block 1 & 1-B
  278.     wizqWaitQueue 1
  279.     wizqWaitQueue 2
  280.  
  281.     if { [ozGet "wantToBeCustomer"] == "discussed" || [ozGet "whatAreFigurines"] == "discussed" } {
  282.  
  283.       # Block 2
  284.       wizqQueue 1 {
  285.         wizqEntityAction Lydia standHandOnChin "wait"
  286.       }
  287.       
  288.       wizqTalkSay Lydia $::lng::mMazePlayL3   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayL3.ogg"
  289.  
  290.       if { [ozGet "mustavioZak"] == "" } {
  291.         # Block 2-B
  292.         wizqQueue 2 {
  293.           wizqEntityAction Zak standConfusedLeft "wait"
  294.         }
  295.       
  296.         wizqTalkSay Zak $::lng::mMazePlayZ8   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayZ8.ogg"
  297.       }
  298.  
  299.       # Wait for Block 2 & 2-B
  300.       wizqWaitQueue 1
  301.       wizqWaitQueue 2
  302.       
  303.     } else {
  304.  
  305.       # Block 2
  306.       wizqQueue 1 {
  307.         wizqEntityAction Lydia standWhat "wait"
  308.       }
  309.  
  310.       wizqTalkSay Lydia $::lng::mMazePlayL1   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayL1.ogg"
  311.  
  312.       # Wait for Block 2
  313.       wizqWaitQueue 1
  314.     }
  315.  
  316.     # Block 3
  317.     wizqQueue 1 {
  318.       wizqEntityAction Zak standRelax "wait"
  319.       chainEvent { delay 1500 }
  320.       wizqEntityAction Zak standYes "wait"
  321.     }
  322.     
  323.     wizqTalkSay Zak $::lng::mMazePlayZ2   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayZ2.ogg"
  324.     wizqTalkSay Zak $::lng::mMazePlayZ3   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayZ3.ogg"
  325.  
  326.     # Wait for Block 3
  327.     wizqWaitQueue 1
  328.       
  329.     # Block 4
  330.     wizqQueue 1 {
  331.       wizqEntityAction Lydia standTalkTwoHands "wait"
  332.     }
  333.  
  334.     wizqTalkSay Lydia $::lng::mMazePlayL2   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayL2.ogg"
  335.  
  336.     # Block 4-B
  337.     wizqQueue 2 {
  338.       wizqEntityAction Zak standYes "wait"
  339.     }
  340.     
  341.     wizqTalkSay Zak $::lng::mMazePlayZ4   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayZ4.ogg"
  342.  
  343.     # Wait for Block 4 & 4-B
  344.     wizqWaitQueue 1
  345.     wizqWaitQueue 2
  346.  
  347.     # Block 5
  348.     wizqQueue 1 {
  349.       chainEvent { delay 1000 }
  350.       wizqEntityAction Lydia standHandOnChin "wait"
  351.       chainEvent { delay 2000 }
  352.       wizqEntityOrientation Lydia 280 "wait"
  353.       wizqEntitySetCycle Lydia standCycleNormal
  354.       chainEvent { delay 1000 }
  355.       chainEvent {
  356.         oz'track::play $::music_track "sound/music/mustavio.ogg" -repeat 1
  357.       }
  358.       wizqZoomIn "minotaurMazeCloseUp" "gardenWatch.minotaurMazeZoomOut"
  359.       wizqDisableMouse
  360.     }
  361.  
  362.     wizqTalkSay Zak $::lng::mMazePlayZ5   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayZ5.ogg"
  363.     wizqTalkSay Zak $::lng::mMazePlayZ6   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayZ6.ogg"
  364.  
  365.     # Wait for Block 5
  366.     wizqWaitQueue 1
  367.     
  368.     if { [getVar "itemNoteBook"] == "pickedUp" && [getVar "itemCirclet"] == "pickedUp" } {
  369.       wizqTalkSay Zak $::lng::mMazePlayZ7   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayZ7.ogg"
  370.     }
  371.  
  372.     if { [ozGet "minotaurMazeFigurines"] == "pickedUp" } {
  373.       wizqTalkSay Lydia $::lng::mMazePlayL4   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayL4.ogg"
  374.  
  375.     } else {
  376.       wizqTalkSay Lydia $::lng::mMazePlayL5   "sound/vo/$::LNG/scenes/gardenWatch/mMazePlayL5.ogg"
  377.     }
  378.  
  379.     wizqTalkClose
  380.  
  381.     pzlmm::qInit
  382.   
  383.     chainEvent {
  384.       wizEntityResumeFollow Zak
  385.       wizEnableFloorevent
  386.       wizEnableMouse
  387.     }
  388.   }
  389. }
  390.  
  391.  
  392. ## ===================================================== ##
  393. ##   Minotaur Maze Win                                   ##
  394. ## ===================================================== ##
  395.  
  396. event "mMazeWin" {
  397.   checkConversation "mMazeWin" {
  398.     ozSet "puzzleMMaze" "complete"
  399.     ozSet "itemNigilisBean" "pickedUp"
  400.     ozSet "gardenWatch.useMinotaurMaze" "false"
  401.     
  402.     chainEvent {
  403.       freezePlayer
  404.       wizDisableFloorevent
  405.       wizDisableMouse
  406.       wizEntityStopFollow Zak
  407.     }
  408.  
  409.     wizqTalkOpen
  410.     wizqTalkSay Lydia $::lng::mMazeWinL10   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL10.ogg"
  411.     wizqTalkSay Zak $::lng::mMazeWinZ1   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinZ1.ogg"
  412.  
  413.     if { [ozGet "itemCirclet"] == "pickedUp" && [ozGet "itemPagesNigilis"] == "pickedUp" } {
  414.  
  415.       # Block 1
  416.       wizqQueue 1 {
  417.         chainEvent { delay 2000 }
  418.         ozqSound::NewFX  "sound/characters/Lydia/pickUp.ogg"
  419.         chainEvent { setCrossfadeCamera "minotaurMazeCloseUpTaken" }
  420.       }
  421.  
  422.       wizqTalkSay Lydia $::lng::mMazeWinL1   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL1.ogg"
  423.  
  424.       # Wait for Block 1
  425.       wizqWaitQueue 1
  426.     
  427.       # Block 2
  428.       wizqQueue 1 {
  429.         chainEvent { delay 1000 }
  430.         chainEvent { standardFadeout }
  431.         chainEvent {
  432.           setCamera "minotaurMaze"
  433.           wizhCameraChange
  434.           wizEntityShow Lydia
  435.           wizEntityShow Zak
  436.           hRemoveBack
  437.           standardFadein
  438.           delay 0
  439.           oz'track::stop $::music_track
  440.         }
  441.  
  442.         chainEvent {
  443.           wizEntitySetPosition Lydia "280.2 86.1 262.2"
  444.           wizEntitySetPosition Zak "290.6 86.1 270.2"
  445.         }
  446.  
  447.         chainEvent { wizEntityLookAt Zak [wizEntityGetPosition Lydia] }
  448.         wizqEntitySetCycle Zak sitCycleNormal
  449.         wizqEntityOrientation Lydia 280 "wait"
  450.         wizqEntitySetCycle Lydia standCycleNormal
  451.         chainEvent { delay 1000 }
  452.         chainEvent { wizEntityLookAt Lydia [wizEntityGetPosition Zak] }
  453.         wizqEntityAction Zak sitYes "wait"
  454.       }
  455.  
  456.       wizqTalkSay Zak $::lng::mMazeWinZ2   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinZ2.ogg"
  457.  
  458.       # Wait for Block 2
  459.       wizqWaitQueue 1
  460.  
  461.       # Block 3
  462.       wizqQueue 1 {
  463.         wizqEntityAction Lydia standTalkTwoHands "wait"
  464.       }
  465.     
  466.       wizqTalkSay Lydia $::lng::mMazeWinL2   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL2.ogg"
  467.  
  468.       # Block 3-B
  469.       wizqQueue 2 {
  470.         wizqEntitySetCycle Zak standCycleNormal
  471.       }
  472.     
  473.       wizqTalkSay Zak $::lng::mMazeWinZ3   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinZ3.ogg"
  474.  
  475.       # Wait for Block 3 & 3-B
  476.       wizqWaitQueue 1
  477.       wizqWaitQueue 2
  478.  
  479.       # Block 4
  480.       wizqQueue 1 {
  481.         wizqEntityAction Lydia standTalkHandHip "wait"
  482.       }
  483.  
  484.       wizqTalkSay Lydia $::lng::mMazeWinL3   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL3.ogg"
  485.  
  486.       # Wait for Block 4
  487.       wizqWaitQueue 1
  488.  
  489.       # Block 5
  490.       wizqQueue 1 {
  491.         setCamera "gardenWatchEntrance"
  492.         wizhCameraChange
  493.       }
  494.  
  495.       # Block 5-B
  496.       wizqQueue 2 {
  497.         chainEvent { delay 1000 }
  498.         wizqEntityAction Lydia standArmCross "wait"
  499.       }
  500.  
  501.       # Block 5-C
  502.       wizqQueue 3 {
  503.         chainEvent { delay 500 }
  504.         wizqEntityAction Zak standYes "wait"
  505.       }
  506.  
  507.       wizqTalkSay Zak $::lng::mMazeWinZ4   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinZ4.ogg"
  508.  
  509.       # Wait for Block 5 & 5-B & 5-C
  510.       wizqWaitQueue 1
  511.       wizqWaitQueue 2
  512.       wizqWaitQueue 3
  513.  
  514.       # Block 6
  515.       wizqQueue 1 {
  516.         wizqEntitySetOrientationTarget Lydia Zak
  517.       }
  518.     
  519.       # Block 6-B
  520.       wizqQueue 2 {
  521.         wizqEntityWalk Zak "292.2 86.1 295" "wait"
  522.         chainEvent { wizEntityLookAt Zak [wizEntityGetPosition Lydia] }
  523.       }
  524.     
  525.       wizqTalkSay Zak $::lng::mMazeWinZ5   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinZ5.ogg"
  526.  
  527.       # Wait for Block 6 & 6-B
  528.       wizqWaitQueue 1
  529.       wizqWaitQueue 2
  530.       wizqEntitySetOrientationTarget Lydia None
  531.  
  532.       # Block 7
  533.       wizqQueue 1 {
  534.         chainEvent {
  535.           setCamera "minotaurMaze"
  536.           wizhCameraChange
  537.         }
  538.         wizqEntityAction Lydia standHandOnChin "wait"
  539.       }
  540.     
  541.       wizqTalkSay Lydia $::lng::mMazeWinL4   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL4.ogg"
  542.       wizqTalkClose
  543.  
  544.       # Wait for Block 7
  545.       wizqWaitQueue 1
  546.  
  547.     } elseif { [ozGet "itemCirclet"] == "" && [ozGet "itemPagesNigilis"] == "pickedUp" } {
  548.       # Block 2
  549.       wizqQueue 1 {
  550.         chainEvent { delay 1000 }
  551.         chainEvent { standardFadeout }
  552.         chainEvent {
  553.           setCamera "minotaurMaze"
  554.           wizhCameraChange
  555.           wizEntityShow Lydia
  556.           wizEntityShow Zak
  557.           hRemoveBack
  558.           standardFadein
  559.           delay 0
  560.           oz'track::stop $::music_track
  561.         }
  562.  
  563.         chainEvent {
  564.           wizEntitySetPosition Lydia "280.2 86.1 262.2"
  565.           wizEntitySetPosition Zak "290.6 86.1 270.2"
  566.         }
  567.  
  568.         chainEvent { wizEntityLookAt Zak [wizEntityGetPosition Lydia] }
  569.         wizqEntitySetCycle Zak sitCycleNormal
  570.         wizqEntityOrientation Lydia 280 "wait"
  571.         wizqEntitySetCycle Lydia standCycleNormal
  572.         chainEvent { delay 1000 }
  573.         chainEvent { wizEntityLookAt Lydia [wizEntityGetPosition Zak] }
  574.         chainEvent { delay 1000 }
  575.         wizqEntityAction Lydia standTalkHandHip "wait"
  576.       }
  577.  
  578.       wizqTalkSay Lydia $::lng::mMazeWinL5   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL5.ogg"
  579.       wizqTalkSay Lydia $::lng::mMazeWinL7   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL7.ogg"
  580.       wizqTalkSay Zak $::lng::mMazeWinZ6   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinZ6.ogg" fastout
  581.  
  582.       # Wait for Block 2
  583.       wizqWaitQueue 1
  584.  
  585.       # Block 2
  586.       wizqQueue 1 {
  587.         wizqEntityAction Lydia standHappy "wait"
  588.       }
  589.       
  590.       wizqTalkSay Lydia $::lng::mMazeWinL8   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL8.ogg" fastin
  591.       wizqTalkClose
  592.  
  593.       # Wait for Block 2
  594.       wizqWaitQueue 1
  595.  
  596.     } elseif { [ozGet "itemPagesNigilis"] == "" } {
  597.       # Block 2
  598.       wizqQueue 1 {
  599.         chainEvent { delay 1000 }
  600.         chainEvent { standardFadeout }
  601.         chainEvent {
  602.           setCamera "minotaurMaze"
  603.           wizhCameraChange
  604.           wizEntityShow Lydia
  605.           wizEntityShow Zak
  606.           hRemoveBack
  607.           standardFadein
  608.           delay 0
  609.           oz'track::stop $::music_track
  610.         }
  611.  
  612.         chainEvent {
  613.           wizEntitySetPosition Lydia "280.2 86.1 262.2"
  614.           wizEntitySetPosition Zak "290.6 86.1 270.2"
  615.         }
  616.  
  617.         chainEvent { wizEntityLookAt Zak [wizEntityGetPosition Lydia] }
  618.         wizqEntitySetCycle Zak sitCycleNormal
  619.         wizqEntityOrientation Lydia 280 "wait"
  620.         wizqEntitySetCycle Lydia standCycleNormal
  621.         chainEvent { delay 1000 }
  622.         chainEvent { wizEntityLookAt Lydia [wizEntityGetPosition Zak] }
  623.         chainEvent { delay 1000 }
  624.         wizqEntityAction Lydia standTalkHandHip "wait"
  625.       }
  626.  
  627.       wizqTalkSay Lydia $::lng::mMazeWinL5   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL5.ogg"
  628.       wizqTalkSay Lydia $::lng::mMazeWinL6   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL6.ogg"
  629.  
  630.       # Wait for Block 2
  631.       wizqWaitQueue 1
  632.       
  633.       # Block 3
  634.       wizqQueue 1 {
  635.         wizqEntityAction Lydia standLoseHope "wait"
  636.       }
  637.       
  638.       wizqTalkSay Lydia $::lng::mMazeWinL9   "sound/vo/$::LNG/scenes/gardenWatch/mMazeWinL9.ogg"
  639.       wizqTalkClose
  640.  
  641.       # Wait for Block 3
  642.       wizqWaitQueue 1
  643.     }
  644.     
  645.     chainEvent {
  646.       unfreezePlayer
  647.       wizEnableFloorevent
  648.       wizEnableMouse
  649.       wizEntityResumeFollow Zak
  650.     }
  651.  
  652.     chainEvent {
  653.       ozqSound::NewFX  "sound/interface/itemPickUp.ogg"
  654.       iq'showdesc nigilisSeed
  655.     }
  656.   }
  657. }
  658.  
  659.  
  660. ################################################################################
  661. ## ========================================================================== ##
  662. ##   OPTIONNAL DIALOGUE SECTION                                               ##
  663. ## ========================================================================== ##
  664. ################################################################################
  665.  
  666.  
  667. # NONE FOR NOW
  668.  
  669.  
  670. ################################################################################
  671. ## ========================================================================== ##
  672. ##   TO ADD/ CORRECTIONS NEEDED                                               ##
  673. ## ========================================================================== ##
  674. ################################################################################
  675.  
  676.  
  677. # NONE FOR NOW
  678.  
  679.  
  680. ################################################################################
  681. ## ========================================================================== ##
  682. ##   TO CHECK                                                                 ##
  683. ## ========================================================================== ##
  684. ################################################################################
  685.  
  686.  
  687. # NONE FOR NOW
  688.  
  689.  
  690.