Having enemies fight you
Minske76
Member Posts: 5
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
I'd recommend looking at some AI and Pathfinding tutorials and templates. @jamie_c has a nice video for a method of moving enemies towards the player. You could start there.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
or DeepBlueApps...they have templates like that