Jump to content


Photo

Looping script


  • Please log in to reply
2 replies to this topic

#1 OneEyedPhoenix

OneEyedPhoenix
  • Member
  • 308 posts

Posted 29 September 2009 - 10:45 PM

I found some looping script blocks in ar6600.bcs. Link here.
The problem is the following two blocks:

[codebox]IF
GlobalGT("Chapter","GLOBAL",3)
Exists("Montaron")
!InParty("Montaron")
THEN
RESPONSE #100
ActionOverride("Montaron",DestroySelf())
END

IF
GlobalGT("Chapter","GLOBAL",3)
Exists("Xzar")
!InParty("Xzar")
THEN
RESPONSE #100
ActionOverride("Xzar",DestroySelf())
END[/codebox]

Apparently "DestroySelf()" doesn't block "Exists", for some weird reason.
Adding a blocking global or changing "exists" to "InActiveArea" will fix the problem.

Edited by OneEyedPhoenix, 30 September 2009 - 11:43 AM.


#2 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 09 October 2009 - 03:33 PM

Fixed so that the script blocks will only trigger after Chapter 3 if Monty and Xzar have not joined previously your party.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#3 OneEyedPhoenix

OneEyedPhoenix
  • Member
  • 308 posts

Posted 10 October 2009 - 01:41 AM

Fixed so that the script blocks will only trigger after Chapter 3 if Monty and Xzar have not joined previously your party.


Great! And thanks a lot for the 1.08! :cheers: