How to make an enmy and an AI

Im new to u unity and i was wondering how to make a person that walks that also comes with an AI and trys to shoot you.

http://answers.unity3d.com/questions/29323/ai-prolog-programming-on-unity

http://answers.unity3d.com/questions/26163/basic-ai-script-help

http://answers.unity3d.com/questions/52415/enemy-ai-going-to-player

http://answers.unity3d.com/questions/10074/enemy-ai-script

http://answers.unity3d.com/questions/tagged?tagnames=ai&sort=votes&pagesize=50

believe it or not Unity ANSWERS usually has answers to people who say such things as "I'm new to Unity." They also seem to be the people who look for already answered questions the least.

http://youtu.be/5-X-Ebh1kYA