Having enemies fight you

How would i code AI enemies to fight me and to know when to swing there weapon when they get close to me. I also have other enemies who throw things at you how would i code that and tell them to throw at certain times and to be able to dodge the throws so they do not always hit me?

Comments

Sign In or Register to comment.