Go to the BP_SmartAIComponent and then to the Range Attack function and copy the video below.