How to make my BehaviorTreeComponent in C++
So, i try to find answers, but in avery examle Behavior trree makes from blueprints. SOme of them make Tasks in C++, but no one ask how to add C++ task to tree (Blueprint or C++).
For example I have UBTTask_MoveTo_Object class (based on UBTTask_MoveTo), and i want to add it into my tree. How to?
asked Aug 17 '17 at 07:17 AM in C++ Programming
I'm not sure I understand your question correctly but to implement a task you should have a class extending UBTTaskNode (something that looks like this: https://gist.github.com/nullB0t/3d2e891d53bb756ac11218d9b50ade66)
After that you build your project and you should be able to right click from the BTree in the editor and be able to call this task in there.
Hope this helps!
answered Aug 17 '17 at 03:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here