How can I get my AI to melee attack the player in behaviour tree?
Hey! So I had a look around and found a few tutorials for this, but none using the behaviour tree the way I would like. I have a melee AI which is working okay, but I can't get it to damage the player. It plays the animation and moves to it fine, but doesn't damage it. This is my node setup.
The first is the BT, the second is the "AttackPlayer" task, and the third is the part of the player blueprint which takes damage. I'm more of an artist, so ANY help with this is greatly appreciated and I'm always looking to improve. Thanks.
asked Sep 29 '17 at 05:28 AM in Using UE4
Got it! Changed the Cast To FirstPersonCharacter to a GetPlayerCharacter and it now works
answered Sep 29 '17 at 11:57 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here