I've two separate behavior tree components:
Behavior tree components A has behavior reference task A which has the same shared variable name ("test_variable") as in the Behavior tree components A.
Behavior tree components B has behavior reference task A which has the same shared variable name ("test_variable") as in the Behavior tree components B.
It works well as all the components and external behavior tree use the same shared variable name ("test_variable");
Now I'd like to combine the two small trees into one big tree and I need to create two shared variables for the two small trees: "test_variable_A" for Behavior tree components A and :test_variable_B" for Behavior tree components B.
And here's the problem: How can I assign the specific variable to the behavior reference task? If I set the "test_variable_A" to the external behavior tree then it should work only for the part of Behavior tree components A.
Behavior tree components A has behavior reference task A which has the same shared variable name ("test_variable") as in the Behavior tree components A.
Behavior tree components B has behavior reference task A which has the same shared variable name ("test_variable") as in the Behavior tree components B.
It works well as all the components and external behavior tree use the same shared variable name ("test_variable");
Now I'd like to combine the two small trees into one big tree and I need to create two shared variables for the two small trees: "test_variable_A" for Behavior tree components A and :test_variable_B" for Behavior tree components B.
And here's the problem: How can I assign the specific variable to the behavior reference task? If I set the "test_variable_A" to the external behavior tree then it should work only for the part of Behavior tree components A.