Ok so I have this whole thing set up to make my AI move randomly, run towards the player once it sees them, and play an attacking montage whenever the player is close enough. However, I am having an issue where once the AI gets in range once, it keeps playing the montage even if it exits the range
I am using this tutorial for reference: Unreal Engine 4 Tutorial - AI - Part 9 Melee Attacks (Behaviour) - YouTube