How do I make a weapon damage certain enemies?

So I have multiple enemies in my game, however, I only want certain weapons to damage specific enemies. For example, a skeleton enemy that can only take damage from a Gaunlet. I have made a base Ai then created child actors from it, the base Ai can take damage from any weapon. so I just wanted to know if I can change this within each child actor. I was thinking that I could use a boolean, i’ll show some screenshots below.

This is my base Ai blueprint for taking damage from any weapon

This is one of my child Ai enemies, could I put a boolean here to make the enemy check if the right weapon is being used.

Many ways to handle it but my mind immediately gravitates towards:

This works in conjunction with the native damage dealing system that you will (hopefully) start using for this.

1 Like