Jump to content

Inaccessible Bodhi Lair Fix


CamDawg

Recommended Posts

From BD:

 

It resolves a bug whereby if the player sided with Bodhi and performed her first task of retrieving the Shadow Thieves' shipment for her, they were unable to gain access to the underground crypts to deliver the shipment to Bodhi as the door to the underground was unpickably locked.

 

The reason for this was that if Bodhi was first met underground or in a crypt, anywhere rather than aboveground in the main area, the command to open the door is in her dialog script and only refers to the door's name without its area; therefore the door to unlock and open would then be in a different area so this would not occur.

 

I added checks to the script for the area the door is in that tests for the game being in the correct chapter(s), whether the player is working for Bodhi and whether the door has been unlocked before, and then unlocks and opens the door if it should be in this situation. It will only do this once so that the player may close the door if desired (it won't lock again if closed.)

 

Extended ar0800 with the following:

 

IF
 Global("WorkingForBodhi","GLOBAL",1)
 OpenState("DOOR12",FALSE)
 GlobalLT("Chapter","GLOBAL",6)
 !Global("Door12Opened","AR0800",1)
THEN
 RESPONSE #100
   TriggerActivation("Tran0801c",TRUE)
   Unlock("DOOR12")
   OpenDoor("DOOR12")
   SetGlobal("Door12Opened","AR0800",1)
END

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...