How to set BehaviorTreeReference's ExternalBehaviorTree from script?

Grumpkin

New member
I'm trying to design an enemy behavior tree that features the option to select from several skills determined at runtime. I created a SharedSkill variable which I can set to the the skill I wish to perform, and the skill holds a reference to an ExternalBehaviorTree, but I can't figure out how to access the BehaviorTreeReference tasks in script in order to set it's ExternalBehaviors to the skills tree.

Any Ideas?

[Edit] Whoops, didn't notice I posted this in the Character Controller forum. Can't seem to delete it or move it myself. Can I mod move this to BehaviorDesigner questions?
 
Top