Kish Posted August 11, 2013 Share Posted August 11, 2013 Is there a way to have someone leave the party, remain in the area, but notimmediately initiate dialogue with the PC? Link to comment
plainab Posted August 12, 2013 Share Posted August 12, 2013 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. Link to comment
Kish Posted August 12, 2013 Author Share Posted August 12, 2013 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.