Getting specific weapons to damage certain enemies


For this first picture, I created the gameplay Tags container. Took the gameplay tag container variable and set it to the specific weapon on weapon swap when the button was pressed and succeeded.


Then I created the BP_Gameplay Tags interface.
I added the interface to the enemy actor BP. which is just a stationary enemy at the moment.


Then I created another Gameplay tag container variable in the enemy BP and tried to check for the specific weapon on any damage the enemy receives but it doesn’t seem to work. I am only using Blueprints and this is my first time trying to use the gameplay tags container. Can anyone help me figure out what the issue is?

Might be better to create a custom DamageType class and use it to pass info; perhaps just the tag and not the container? Don’t think an interface is needed here.

2 Likes

I created the custom damage classes which worked out way better. Thanks.

1 Like