Jump to content

[Solved] Bypassing automatic dialogue initiation


Kish

Recommended Posts

Look at the default script (dplayer2.bcs) for the stock NPCs. There is a block that handles switching the script and initiating dialog with the PC. Should be something like this (google search result - BG & BG2 are not currently installed)

IF
 !InParty(Myself)
 HPGT(Myself,0)
THEN
 RESPONSE #100
   SetLeavePartyDialogueFile()
   Dialog(Player1)
   ChangeAIScript("",DEFAULT)
END

 

You'd probably want to change that block to not run the dialog command. However, all joinable NPCs use this script so you'd be better off saving the changed version as something else. Be sure to check any dialog blocks that handle joining, those same blocks might set the dplayer2 script. If they do, they would need to be adjusted to use your modified file.

 

NOTE: this is just a wild hair brained guess. :p

Link to comment

So...I can just put

SetLeavePartyDialogueFile()

ChangeAIScript("",DEFAULT)

in the block where the character leaves the party...and that fixes it. Thanks, I didn't know about the dplayer script.

Link to comment

Archived

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

×
×
  • Create New...