How can I control multiple child characters that inherit from a main character with an AI controller?

Currently, I get a location in the world using my Player Controller and transfer it to my Blackboard through an BP Interface. This setup mostly works, but it only controls one specific child character.

I have code that selects child characters in an array, but I am unsure how to properly move the selected characters while keeping compatibility with my Behavior Tree. I know of a way to move the selected characters in the Player Controller, but it does not work well with my existing Behavior Tree code.

What is the best approach to make multiple selected characters move correctly while still using the AI controller and Behavior Tree?



Hello @Vettie22

You can get the blackboard component from the AI Controller and set Blackboard keys to those child characters.
For example you can set a object on the black with the parent of your character.

Then setup the behavior tick with a movement task using that blackboard key as a target.
The next tick of their behavior tree it will start moving to the target location.