Reply To: Ultimate FSM/Dialogue/Subdialogue confusion

NodeCanvas Forums Support Ultimate FSM/Dialogue/Subdialogue confusion Reply To: Ultimate FSM/Dialogue/Subdialogue confusion

#11852
Gavalakis
Keymaster

Hey,

Yes, one way to do it is indeed to sync the variables back OnSubDialogueFinish like you said and also what I was planning to do.
If syncing variables back even before OnSubDialogueFinish is required, that could be done by subscribing to all the mapped variables ‘onValueChange’ event and do the sync when the event is raised. This will require a bit more work but maybe it’s worth it. I will take a look at heading towards that direction.

Thanks 🙂

Join us on Discord: https://discord.gg/97q2Rjh