Right now my spawning system spawns both the AI characters and Player characters based on a array of characters (the team) selected by the Player, and the AI team is randomly generated (this will later be be pre-defined for each level/stage). These characters are individual, each with own animation, abilities and so on. The thing is, the AI can use the same characters the Player can.
What I want to avoid is to have duplicates of each of these characters, each with pre-set controller. I want to be able to change the controller when the array of characters is spawned for each team.
I have considered adding a Tag during the spawning loop, then on construct set the controller. While this might do the trick, I dont see a Node I can use to change the controller. Since both teams use the same characters, and all characters are spawned and not placed, I cant just change it in the Character Class Defaults because this would effectively made all characters Player or AI.
If there is no Node to set controller (either to AI controller or Player controller), is there a way I can set the Pawn controller settings in the Class Defaults directly?
I did find a Node that will let me SET the AI Controller Class, but thats only useful if the target Character is on the AI team.