Is it possible to add two transitions to each of the original WK dialogues, one that goes to Fade's ToB dialogue file and one that goes to her SoA dialogue file?
I'm thinking that we can put Fade's interjection dialogue states for WK in both of her dialogue files and then use the trigger condition Global("InToB","GLOBAL",1) to detect if we are in ToB or not and go to the appropriate dialogue.
For example:
//Odren (Watcher's Keep)
INTERJECT_COPY_TRANS GORODR1 11 E3FadeOdren1 /* ~That day has come, <CHARNAME>. The great evil struggles within, and has infected the Watcher's Keep to the point where we cannot bypass the creatures and foul magic that blocks our path.~ */
== E3FAD25J IF ~Global("InToB","GLOBAL",1) InParty("E3FADE") !StateCheck("E3FADE",CD_STATE_NOTVALID)~ THEN @4886
== FADE IF ~!Global("InToB","GLOBAL",1) InParty("E3FADE") !StateCheck("E3FADE",CD_STATE_NOTVALID)~ THEN @4886
END
The idea being to either go to E3FAD25J.dlg or FADE.dlg, which would each have a new dialogue state that would say @4886 and then come back to the original dialogue (GORODR 11).
I don't think the above code would do what we want, because if I understand correctly it would interpret the above as a CHAIN and try to go first into E3FAD25J and then from there into FADE and then back, but is there a way to do this?
Would it work as two separate INTERJECT_COPY_TRANS, one for
SoA and one for
ToB, as below?
INTERJECT_COPY_TRANS GORODR1 11 E3FadeOdren1 /* ~That day has come, <CHARNAME>. The great evil struggles within, and has infected the Watcher's Keep to the point where we cannot bypass the creatures and foul magic that blocks our path.~ */
== E3FAD25J IF ~Global("InToB","GLOBAL",1) InParty("E3FADE") !StateCheck("E3FADE",CD_STATE_NOTVALID)~ THEN @4886
END
INTERJECT_COPY_TRANS GORODR1 11 E3FadeOdren1 /* ~That day has come, <CHARNAME>. The great evil struggles within, and has infected the Watcher's Keep to the point where we cannot bypass the creatures and foul magic that blocks our path.~ */
== FADE IF ~!Global("InToB","GLOBAL",1) InParty("E3FADE") !StateCheck("E3FADE",CD_STATE_NOTVALID)~ THEN @4886
END
Edited by agb1, 16 November 2016 - 09:03 AM.