jastey Posted August 22, 2007 Share Posted August 22, 2007 A dead NPC in party, with a dream script including a true AreaType() check, leads to CTD upon resting (not every time, but reliably enough). This is tested for all games on BGII engine. To prevent the CTD, the script block should have a false, exiting trigger before the AreaType() check. This would work: IF !StateCheck(Myself,CD_STATE_NOTVALID) AreaType(FOREST) InParty(Myself) CombatCounter(0) !See([ENEMY]) Global("xxx","GLOBAL",0) THEN RESPONSE #100 ... This would cause CTD upon resting: IF AreaType(FOREST) !StateCheck(Myself,CD_STATE_NOTVALID) InParty(Myself) CombatCounter(0) !See([ENEMY]) Global("xxx","GLOBAL",0) THEN RESPONSE #100 ... Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.