Every character has a TeamIndex
, so that we know if it is a potential friend or an enemy.
If your enemy is not attacking, there are mostly one of the two things wrong:
TeamIndex
- 0 is the Index of the player team. You can edit the TeamIndex
in the enemy blueprint or directly in the enemy in your scene.Example for the enemy blueprint

Example for the enemy in the scene

The other thing that often happens - you forgot to add a Nav Mesh Bounds Volume
that is needed that your AI can move around.