Animal AI for deer

I am currently making a hunting game I got the deer animations done there is currently about 80 different animations varying from walking, running, looking left and right to eating, laying down, and dying. How can I get create A.I to where when it is in certain areas it eats for a couple seconds then walks and occasionally lies down and when it hears me or sees me it me it runs and when it hears me it turns it head my way and if it sees me it runs and if the noise is loud enough it don’t look it just runs away from the noise

there is not video on how to do that been here for a while most Y/T videos are all about the zombie shoot them up war games there is little to no videos on any kind of out door games any more I am trying for months to make a open world survival game with animals you can kill and harvest but 99% of videos cover the other games no one wants to make out door games any more like i said its all about the zombie shoot them up war games now so I am in the same boat.