Hi,
so I have an entity prefab with a behaviour tree and multiple prefab variants that inherit from it. I can change the shared variables on such a variant just fine to adjust its behaviour. But when it comes to changing the structure of the tree or extending some branch, I will have to create a separate tree for it. From then on, changes that should affect the basic behaviour of all entities have to be made to all those copied trees.
I think, much of this could be improved by allowing for dynamic behavior tree references. It is possible to create a SharedVariable<ExternalBehaviorTree> but it cannot be plugged into the BehaviorTreeReference Task, unfortunately. I have a hard time building this myself. Is it possible?
so I have an entity prefab with a behaviour tree and multiple prefab variants that inherit from it. I can change the shared variables on such a variant just fine to adjust its behaviour. But when it comes to changing the structure of the tree or extending some branch, I will have to create a separate tree for it. From then on, changes that should affect the basic behaviour of all entities have to be made to all those copied trees.
I think, much of this could be improved by allowing for dynamic behavior tree references. It is possible to create a SharedVariable<ExternalBehaviorTree> but it cannot be plugged into the BehaviorTreeReference Task, unfortunately. I have a hard time building this myself. Is it possible?