The last of us style stealthy like game need help

need help setting up AI like this or close to it for my game I wanna be able to do this here to

all tuts guides etc are welcome if it can help me get on the right track