Reply To: Sub FSM Variables Not Working

NodeCanvas Forums General Discussion Sub FSM Variables Not Working Reply To: Sub FSM Variables Not Working

#16714
Gavalakis
Keymaster

Hello,

Indeed, you can flag graph variables as exposed public and then write in to them using the Variables Mapping controls in the inspector of the subgraph node in the parent graph. The Write In takes place once every time the subgraph is executed from the parent graph. If you re-encounter any issues with that please let me know since you definetely should have to delete/recreate to fix any issue. Bound sub-graphs is on the big roadmap but to be honest it is not in very high priority in comparison to other things since the only downside asset graphs have is that they are unable to hold scene object references, which is solved using Variables Mapping, but on the other hand they have a lot of advantages, like the ability to re-use them at will and not being bound to any scene.

Thanks.

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