This is basically “ai move to” node with random locations input. And another node is connected through “branch” (true or false) and to “on seeing pawn” is attached to the branch. if true, he will follow the player. if false, it will go back to “delay” node where he continues looking.
.
Based on how far you want him to look around last seen position, change the “get random point in navigable position” value. And the delay is how long he should stand there and look when he reach a place.
Check the image which I attached.
Hope I helped.