Posted by: Diana
« on: June 06, 2005, 09:59:59 AM »
When Jaheira leaves the group after being collected the harper Merona her kickout dialog doesn't activate. I would like to do the same for an NPC that leaves the group on his own. In looking at JaheiraJ.d I see the following code:
ChangeAIScript("",DEFAULT)
SetLeavePartyDialogFile()
EscapeArea()
I always thought the SetLeavePartyDialogFile() would trigger the kickout speech so what prevents it in Jahaeira's case? Also, since most of us used Ghrey's tutorial on npc making, wouldn't the equivalent of SetGlobal("VondoJoined","LOCALS") still be at 1 from his joning dialog or does it somehow magically get set to 0?
Thanks.