The Black Wyrm's Lair - Forums

Released mods - Baldur's Gate II => Vlad's Compilation => Baldurdash-WeiDU => Topic started by: Ardanis on January 14, 2009, 03:28:53 AM

Title: bug with ar1600.bcs
Post by: Ardanis on January 14, 2009, 03:28:53 AM
Well, I've spotted this one two years ago, but only now have I taken the time to study it.


COPY_EXISTING ~ar1600.bcs~ ~override~
REPLACE_BCS_BLOCK ~BDash\BAF_x\xAR1600.BAF~ ~BDash\BAF_r\rAR1600.BAF~


// xAR1600.BAF
IF
    Dead("ppvalen") // Valen
    Dead("ppparis") // Parisa
    Dead("ppdel") // Del
    OR(2)
        Global("AsylumPlot","GLOBAL",3)
        Global("AsylumPlot","GLOBAL",4)
THEN
    RESPONSE #100
        SetGlobal("AsylumPlot","GLOBAL",5)
        ActionOverride("uhostile",DestroySelf())
END
Changing 'Dead' to '!Exists' yields another bug - this block turns true even when siding with Bodhi (because they, well, don't exist to begin with), resulting in Saemon skipping his 'Herein you shall find what you need' (AsylumPlot=4) line when giving a tour and jumping right to 'Having troubles?' (AsylumPlot=5).

You can easily remedy this by adding one extra condition to rAR1600.BAF - "Global("ThiefGroup","global",1)//sided with Aran" or "!Global("ThiefGroup","global",2)//sided not with Bodhi"
Title: bug with ar1600.bcs
Post by: Vlad on January 14, 2009, 07:28:49 AM
Thank you!