Go to the BP_SmartAIComponent and then go to the Set BB Attack Target and add the highlighted nodes shown below.