Greetings. I’m trying to spawn multiple characters from the same blueprint on the level and have them all do different things when they fight each other.
Here’s what I have in mind, as I created only 1 blueprint of Human_BP.
Spawn 10 Human_BP on a level, then assign 5 to Team A and 5 to Team B (on Gamemode). Team A will have 1 leader and 4 subordinates. Team B will have 1 leader and 4 subordinates. Player will take control of Team A leader, while assign an AI Controller on Team B leader and all other 8 subordinates. Team A and B fight, while the leaders fight among themselves and the subordinates only fight other subordinates.
On the Gamemode, I casted to Human_BP and used loop to spawn these characters, but I can’t seem to get the AI to recognize the other team’s leadership/subordinate characters to lock on as their individual target. Is there any suggestion on how I can approach this?