A.I won't take damage or die

I’ve watched this VIDEO and I have my A.I walking around attacking me, and having me die. No problem. My problem is that I’m trying to copy this onto the A.I blueprint and nothing is happening, the A.I isn’t taking damage or dying.

The first picture shows how my player character would die and it’s set up the same way as the A.I

86721-capture_3.png

Also, form my character blueprint. When I press the attack button, which is X, to attack the A.I and have it die. it isn’t working. What am I doing wrong?

Sora,

Be sure to use the Damage technique of UE4, using Pawns and Apply Damage and Any damage nodes

Here is an article on the blog

And the doco

This does help, but I would need to see how it would work out. Sadly, I’m not a programmer so I don’t know how it really works.

It’s pretty simple. Actors have a certain amount of damage they can take until they die. You Apply damage to an actor when it gets ‘hit’ and you capture damage events with Any Damage. There is also an option to apply damage with terminal damage which means instant death.

Thank you posting, it has helped me.

After messing around with it. The player character can take damage and die. But the A.I doesn’t seem to be getting the same treatment…
What am I doing wrong?

After messing with it some more, I manage to damage and kill the A.I

But now I’m trying to set it up to where myself and the A.I can only take damage within a certain range as I had it before. But it isn’t working