How do I do damage to an enemy AI in first person.
I was wondering how to do damage to an enemy ai in first person. I fanyone could help me I would very much appreciate it.
asked Mar 17 '16 at 05:37 PM in Using UE4
You will need to setup variables for health in both your characterBP (if you want to also receive damage) and the AIcharacterBP then setup an "event any damage" node that subtracts the damage received from the health variable like this:
Then in the projectile setup an "apply damage" like this:
That should get you started in the right direction.
answered Mar 18 '16 at 02:08 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here