combat system soldiers

Hello, I wanna make an game were i can fight but Also the soldiers who are fighting with me against the trolls. The system so that i can fight is working but i don’t have an idea how i can Let the soldiers fight against trols and not one troll but as example: 10 vs 9 (with me so that makes 10). I hope someone can help me because im stuck:(

You looking at needing to set up AI for the soldiers.You will want to assign tags in game to the different roles played ie trolls=enemy you=player soldiers=ally then its all about Ai telling the soldiers what to attack and why. Ie attack troll with least health,attack troll with most health attack nearest troll(enemy) ,assist player if player health <less than. You can make there Ai as simple or sophisticated as your skill or situation requires.

There are some ai tools freely available you can check out like rain and A+ just google them

1 Like

Oh oke thanks

I now how to assign an object but an group is New