How do I make IA enemy to punch my character?

I have set up AI enemy to chase me when I come closer to him. But I have a problem I don’t know how to make him punch me or whatever when he is close to me. I know how to make him to do damage to me but I don’t know how to make him play attack animation. I am begginer with this so I will be happy if someone could help me :slight_smile:

for that kind of animation it’s common to setup a single Animation Montage, wich you can create by right clicking on any standard animation. In order to use it you first have to go in the animation graph and save the locomotion state machine in a saved state (just grab the graph, disconnect it from the final animation pose and plug it into a “new saved cache pose”. Then you call the saved chace pose and plug into a “default slot” and finally into the final pose.

After all this you will be able to call a function in the character BP called Play Animation Montage

okay Thank you so much I will try that :slight_smile: