AI Aim at target

I was wondering is there an easy way to get an AI to aim at the player but not perfectly, like a bot in a shooter game that looks somewhat realistic (smoothly rotate) and also is there a way to make an AI look up and down? Thanks