How to make AI damage player?
Hi! I'm almost done here, now I only need to make my AI damage my actor when it's close to MyCharacter.. I've got some help from someone before but his blueprint doesnt work for me.. I've HP systems for both my AI and my player.
I'll add some screens to show my blueprints.
Please help! :)
asked Sep 24 '14 at 08:08 PM in Blueprint Scripting
What you should do is cast to the player, and if the cast succeeds then run the damage. This is a rough idea of what I did to get this to work:
answered Sep 24 '14 at 09:14 PM
On the first Blueprint connect a wire from the == compare node to the condition on the Branch node. It's not working probably because it's registering always as false right now.
answered Sep 24 '14 at 08:15 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here