Reply To: Passing variables to dynamic subtrees

NodeCanvas Forums Support Passing variables to dynamic subtrees Reply To: Passing variables to dynamic subtrees

#14992
Gavalakis
Keymaster

Hello there,

When using subtrees based on a variable like-so, please note that local graph variable mapping is not really possible if the subtree variable is unknown or changed in runtime. However, the GameObject Blackboard Variables (the Blackboard attached on the gameobject) is propagated down the sub-trees as normal. This GameObject Blackboard is common among all graphs and subgraphs and it’s variables can be used by all of those graphs, whereas the local graph variables can only be used by its own graph instead.

Please let me know if that answers your question (which I may have misunderstood).
Thanks!

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