looking for tutorial

can someone help me
i want to find a good ai tutorial that explains all the aspects
i can so far make the ai chase me on sigth and roam between 2 point
i want it to chase when he hear a sound and roam randomly in the map
thnx in advance