jastey Posted December 16, 2017 Share Posted December 16, 2017 (edited) Do you see anything wrong with this chain? Because the "DO ~SetGlobal("C#AjantisBG1_RasaadRomanceConflict","GLOBAL",1)~" is not performed in the game (even though I doubled it to get it to work), i.e. "C#AjantisBG1_RasaadRomanceConflict" does not exist after the dialogue run, and the dialogue loops. /* Ajantis - Rasaad romance conflict BG1 */CHAINIF WEIGHT #-1 ~%BGT_VAR% Global("C#AjantisBG1_RasaadRomanceConflict","GLOBAL",0)GlobalGT("RASAAD_ROMANCE","GLOBAL",0)Global("X#AjantisRomanceActive","GLOBAL",1)InParty(Myself)InParty("rasaad")See("rasaad")!StateCheck("rasaad",CD_STATE_NOTVALID)!StateCheck(Myself,CD_STATE_NOTVALID) CombatCounter(0) !See([ENEMY])~ THEN ~%AJANTIS_BANTER%~ rasaad_romanceconflict@70 DO ~SetGlobal("C#AjantisBG1_RasaadRomanceConflict","GLOBAL",1)~== ~%RASAAD_BANTER%~ @71== ~%AJANTIS_BANTER%~ @72== ~%RASAAD_BANTER%~ @73== ~%AJANTIS_BANTER%~ @74 DO ~SetGlobal("C#AjantisBG1_RasaadRomanceConflict","GLOBAL",1)~EXIT I'm using this CHAIN structure for xx other banters without any problems. I looked at BAJANT.dlg, and the "DO ~SetGlobal("C#AjantisBG1_RasaadRomanceConflict","GLOBAL",1)~" is in there alright.- I know Ajantis is jealous, but this much?... Edited December 16, 2017 by jastey Quote Link to comment
CamDawg Posted December 16, 2017 Share Posted December 16, 2017 I think your variable name exceeds the 32-character max. Quote Link to comment
Jarno Mikkola Posted December 16, 2017 Share Posted December 16, 2017 (edited) Where's the END ? Yeah, that's 33 characters long global. Edited December 16, 2017 by Jarno Mikkola Quote Link to comment
jastey Posted December 16, 2017 Author Share Posted December 16, 2017 CamDawg: THANK YOU! Yes, that was it. And now I will ponder for the rest of the evening why it didn't occur to me. I spent like over an hour trying to find the reason the variable doesn't get set!... Jarno: In a CHAIN with no transitions or reply options, the end is only an EXIT. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.