How to stop enemy actors from damaging each other?

Im trying to improve my combat but i notice that the enemies can hit the player and enemies aswell. Is there a way to get the enemies to ignore each other during attacking?

I’ve tried to add the skeleton BP reference to the “Actors to Ignore” input but it doesnt seem to be working.

Add a tag to players or AI.
When AI goes to choose a target have it check the tag.

e.g. In AI class → Actor → Tags… Add BOT.

When the Bot goes to choose a target (usually a loop) Actor Has Tag (Bot). If true skip. Else set said actor as target.

1 Like