[Scummvm-tracker] [ScummVM] #9894: SCI: QFG4: Can't use thieves guild secret passage

Vhati trac at scummvm.org
Sun Dec 2 05:33:41 CET 2018


#9894: SCI: QFG4: Can't use thieves guild secret passage
--------------------------------+--------------------------------
  Reporter:  tsoliman           |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  normal             |  Component:  Engine: SCI
Resolution:                     |   Keywords:  sci32, pathfinding
      Game:  Quest for Glory 4  |
--------------------------------+--------------------------------

Comment (by Vhati):

 rm340::init() has a cond block that decides among 3 walkable areas, and
 the third condition includes a Feature object that exits when hero walks
 onto it...
 * You have flag 243, failing the first condition.
   * Set when the double doors are opened. (script 340 -
 sDoorSlide:changeState(1))
 * You have flag 254, failing the second condition.
   * Set when the wall opens up. (script 340 - sBarrelMove::changeState(8))
 * Otherwise, init secritExit.
 \\
 \\
 script 340 - secritExit
 {{{
 (instance secritExit of Feature
         (properties
                 nsLeft 311
                 nsTop 119
                 nsRight 319
                 nsBottom 126
         )

         (method (init)
                 (g78_theDoits addToFront: self)
                 (super init: &rest)
         )

         (method (doit)
                 (if
                 (and (self onMe: g0_hero) (not (g2_myCurrentRoom
 script?)))
                         (g2_myCurrentRoom newRoom: 290)
                 )
         )
 # ...
 )
 }}}

--
Ticket URL: <https://bugs.scummvm.org/ticket/9894#comment:6>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list