Is there a way to call a behavior tree to run from script?

ssthor22

New member
Hi, I have a working BT for basic NPC behavior, and I'm trying to integrate this into another larger AI framework (Utility AI). Is there a way to call a specific behavior tree to run from script? I can't seem to understand how to do this. Thank you.
 
Yes, you can call EnableBehavior on the BehaviorTree:

 
Top