1) Do the Died() and PartyMemberDied triggers actually work?
I have some scripts for an upcoming mod that rely on noticing when a creature of interest dies, but I don't want to do a state check and have them spamming continuously for the duration of the NPC's death. For context, the code below does not work unless I comment out the trigger for Nordom dying.
Died("Nordom") // Nordom - Modron
!StateCheck("Morte",CD_STATE_NOTVALID) // Morte - Talking Skull
!InParty("Grace") // Fall-from-Grace - Succubus
StateCheck("Grace",CD_STATE_NOTVALID) // Fall-from-Grace - Succubus
2) Is there some weird behavior regarding TakePartyItem in dialogs?
I can't make an NPC take an item in one of my mods and I was wondering if there was some weird behavior that I wasn't aware of (PSTEE engine). For context, the code below (which is added to DMORTE.dlg) does not correctly take the item from the party.
IF ~~ THEN BEGIN qd_morte_teeth
+ ~PartyHasItem("ICTEETH")~ + @108 DO ~TakePartyItemNum("ICTEETH",1)~ + qd_morte_teeth_ingress