2D sidescroller AI

Hi, I would like to know if there is an easy way for you to make an enemy AI follow your character when he gets in a certain range of the player and if he touches the actor the actor receives damage. Any help would be greatly appreciated or point me to a place that might contain my answer. Thank you.

For damaging the player you could use a volume box attached to character as it was shown in this tutorial: https://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1gb5sdygbSiEU7hb0eomNLdq/RArLZBKm9N0/index.html

For checking if the player is at certain distance, you could use another volume box and connect your function to “Begin Overlap” event, or use trace line with certain length fired every 0.1s.

This works amazing thank you for the help!