Setting AI to look at player using SetFocus

I have a very simple AI and Im trying to figure out how to get the AI to look at the player when they are damaged by them. I found the SetFocus node, but it doesnt seem to work. How can I achieve the AI looking at the player if I am standing behind them when I damage them.

Ive got it working by the following, but now the AI is always looking at the player, even when running sideways. How would I set the AI to focus only for a brief period?

I have been trying to figure out the same thing. If you follow my link below to my question, it may help you out a little. We have not got it working completely yet, but we are getting very close. Good luck!

You can unset or clear focus following a delay.