Dear whoever reads this,
I am struggling to find a way to cause damage to multiple enemies in my game. In the picture, you can see that I have a melee capsule, which is placed in front of my character, that allows the character to cause damage to anything inside the capsule. Then underneath, I have 2 different types of AI (enemies) which are called ‘AI Default’ and ‘AI Assassin’. If I plug one of them in, I can damage any of that actor in my game. But I want to be able to cause damage to both types of enemy instead of only letting me choose 1 type of enemy.
The reason I have two different blueprints for the enemies is so I can use different attacking animations.
Is there a way to do this?
Maybe by detecting multiple classes in the collision?