How to reference a weapon for an attack in Blueprint

Hello everyone,

I am trying to create a game in which you can use a bass guitar in the form of a club. Now, I’ve set up the collision models for the enemies, but I can’t seem to get it so that only when the bass guitar’s collision box hits them, the enemies die (for now I am after a one-hit death, I will extend later).

I can build it so that when the entire character touches them, they die, but this isn’t good enough.

Is there anybody that could help me design a way to do this?

Thanks in advance!

You can highlight your weapon in your character blueprint component pane like this:

and for something simple you could do this to prevent your character from dealing damage to unwanted targets, where you would handle your damage if branch == true.

Hi, thanks for getting back.

I’ve used what you’ve said, but it still isn’t working.

Here’s a screenshot of what I’ve done.