How do i create a computer/enemy for my game?
4 Answers
4by writing an ai script
“Writing an AI script” means nothing in this case. If you’re asking for “How to create a 3D model for an enemy”, Joeunity55, you have to create it with a graphic tool, like Maya or 3D Studio Max, and then import your model into Unity. Check this page for the supported stardards: Unity - Manual: Importing assets
Then, you can create a Unity object that’s rendered with your model (http://unity3d.com/support/documentation/Components/class-Mesh.html), and you can attach scripts to that object to let it work properly in your game.
See also the Asset Store (Window->Asset Store, inside Unity) for downloading models ready-to-use; some of them are also free.
Creating an AI is a very complex and time consuming job and it is not something a beginner should be put through. You give us the impression that you are a newcomer to Unity which is absolutly great. But you must not bite of more than you can chew or else you will choke.
I started out with TornadoTwins. He gave me a pretty good insight into Unity and the power it contained. The code he writes is most likely not the best or most performance-friendly but, he thought me different basic functions and he tells you how to make a basic AI. That is where I started and I will recommend you start there as well. It will give you a good foundation and you should thereafter be able to create small games.
Sorry Joe, but your question here is essentially "Write my game for me." If you have an actual question about some aspect of Unity, the folks here will be more than happy to help you. In the meantime, you need to look into a few Unity tutorials - the Unity website has a couple fantastic ones that include all the pieces you'll need for creating enemies.
– Julien-Lynge