Services attach to nodes in Behavior Trees and will execute at their defined frequency; that is, as long as their branch is being executed. Similar to Parallel nodes in other Behavior Tree systems, these are often used to make checks and to update the Blackboard, which we will use in this recipe to find our player object and assign it to our Blackboard.
Creating a BTService
Getting ready...
Finish the previous recipe, Connecting a Behavior Tree to a Character.
How to do it...
- From the Content Browser, select Add New | New C++ Class. From the Choose Parent Class menu...