How to kill enemy and get kill by enemy

hi… friends i create an enemy that followes , attack,and find the hero but i want to kill hem and get kill by enemy how can i do this plz help me plz

You will need to setup health variables in both the enemy and playerBP as well as a damage event that will take away from that health variable when you attack each other. Something like this:
Setup in the PlayerBP and EnemyBP:

82742-anydamage.png

This is an example of the FPS projectile with an Apply Damage node used to apply damage on impact:

That should get you started in the right direction

This is hooked up identically and doesn’t do anything

Add a print string after the Event Any Damage on the enemy AI and on yourself, you should see the values go down as damage is taken each time it fires.

This is getting to be a nightmare! I downloaded the side-scrolling space shooter content of epic games, my plan is to make an old-style retro shooter like R-Type or Salamander, but after changing the meshes to try and make it my own it won’t spawn anything at all, I’m stuck and would willingly credit anybody who can help me should my game be released at any point.