How can I make an attack npc?(all the npcs on one team, and all players on the other)

I’m making a medieval bot defence game, but I don’t really know how to make all of the attack npcs on one team, and all the players on the other. I don’t even know how to code an attack npc. Help is appreciated, and if there is another post similar you can comment the link. Thanks.

I searched up a video which could be a potential help, if this post helped you - give it the solved checkmark. :slight_smile:

2 Likes

Thing is, will all of the npcs go on the same team against the players??

2 Likes

You’ll probably need to implement some sort of Team check to know if the target they’re chasing at is an enemy to themselves & will chase them

2 Likes