Posted by: K4thos
« on: August 14, 2017, 12:09:45 PM »all good, I will mark the topic as solved. Thanks guys for help.
IF ~~ DO ~%GWDialogue%SetGlobal("GW#GwendyNO","GLOBAL",0) %GWDialogue%SetGlobal("GW#GwendyOK","GLOBAL",1) EraseJournalEntry(@3590012) AddJournalEntry(@3590014,INFO)~ FLAGS ~%BIT9%~ EXTERN GWGWENDY Gwendolynette.Bag
OUTER_SET INSTANT_ACTIONS = BIT9
in the .tp2 file and useFLAGS ~%INSTANT_ACTIONS%~
in the .d file.OUTER_SET INSTANT_ACTIONS = 0
for classic BG2. In this case no flags should be set.IF ~~ DO ~%GWDialogue%SetGlobal("GW#GwendyNO","GLOBAL",0) %GWDialogue%SetGlobal("GW#GwendyOK","GLOBAL",1) EraseJournalEntry(@3590012) AddJournalEntry(@3590014,INFO)~ EXTERN GWGWENDY Gwendolynette.Bag
BG2 : OUTER_SPRINT GWDialogue "Dialogue"
BG2:EE : OUTER_SPRINT GWDialogue ""
FLAGS: Used to set transition flags manually, though I can’t imagine why one would do this.well, now there is a real purpose. I think naming them properly rather than using integer is the way to go. btw. what integer should be used for bit9 - 9 or 512?