- Home /
Horror Game AI script recommendation?
So i'm making a small horror game and I am trying to create a single AI character that will not necissarily follow the player, but walk around the map (perhaps teleporting around also). The player should be just walking and, for example, see the ai staring at him. If he turns around or moves closer, it will attack.
So what i'm asking is, does anyone know any tutorials I could follow that would give me an idea of what i'm doing since i am new at this?
Thanks!
Hi you can make it to follow waypoint and attack if player is closer using vector3.distance.If you use java then i can post the script for you
Answer by Montraydavis · Oct 28, 2012 at 04:13 PM
Here is a script I created for Zombies . . . -- http://answers.unity3d.com/questions/337837/enemy-ai-things-to-consider.html ( Refer to first ANSWER ). Also, keep in mind that you will have to tweak the animation settings and such in the code to fit your own models needs.
Your answer
Follow this Question
Related Questions
multiple animations? 1 Answer
Zombie FPS 2 Answers
Unity,How to make training Target Enemy 1 Answer
ai spot you with flashligt on!!! 1 Answer
FPS Game Level Loader 0 Answers