Stop AI from chasing player

Instead of edit your current branch you can add an other branch at the beginning of the event who check the state and call the roam event if not allowed to attack. Also doing this you can call your attacking event in case of AIMoveTo fail (it fail, so attack again checking if it can or not).

EDIT: BTW if you don’t check the state, with this BP, you are in a infinite loop broken only by the player’s death.