The enemy will attack each other

cangcloud

Member
I created two enemies with Deathmatch AI kit, but I found that the enemy and the enemy will attack each other, which is very unreasonable. I want to know how to make them not attack each other and let the enemy AI only attack players.
 
On the Deathmatch Game prefab there is a script called Deathmatch Manager. It looks like that controls the number of players and number of teams to be spawned. If you don't want enemies to attack each other, it looks like you would just have to set the Team Count on that script to 1... unless that number represents your team as well as enemy teams and then you would set that number to be 2. Either way, that seems to be the place.
 
Top