Jump to content

Reaction Triggers in Dialogs


erebusant

Recommended Posts

I just ran into an issue with the Mummy-Daddy encounter in AR6745 of Beregost from NTotSC where the encounter wouldn't fire due to a combination of I guess the party reputation in conjunction with the characters Charisma? In the following dialog I kept getting STATE 1 when my protagonist would talk the 1st time, and it took using Imoen or Viconia to converse to get STATE 0 to fire.

 

BEGIN ~NTBOYBE1~

IF ~NumberOfTimesTalkedTo(0)
ReactionGT(LastTalkedToBy(Myself),HOSTILE_UPPER)~ THEN BEGIN 0
 SAY @0
 IF ~~ THEN DO ~SetGlobal("MummyDaddyWillCome","GLOBAL",1)~ EXIT
END

IF ~NumberOfTimesTalkedTo(0)
ReactionLT(LastTalkedToBy(Myself),NEUTRAL_LOWER)~ THEN BEGIN 1
 SAY @1
 IF ~~ THEN EXIT
END

IF ~StateCheck(Myself,STATE_CHARMED)~ THEN BEGIN 2
 SAY @2
 IF ~~ THEN EXIT
END

IF ~Global("MummyDaddyWillCome","GLOBAL",3)
Dead("NTOGREMU")
Dead("NTOGREDA")~ THEN BEGIN 3
 SAY @3
 IF ~~ THEN DO ~AddexperienceParty(100)
SetGlobal("MummyDaddyWillCome","GLOBAL",4)
EscapeArea()~ EXIT
END

My party reputation is 8, and Charisma scores are Protag - 8, Kagain - 8, Viconia - 14, Imoen - 16.

Link to comment

Archived

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

×
×
  • Create New...