I already have a script for the zombie to move toward me if I get closer and attack me. I want an smart AI allow the zombie to move freely but when I get closer it attacks me. How would I do that? Please I have been looking everywhere.
Thanks
look up “zombie Finite State Machine”