How do I make enemies fight

O_BirchO_Birch Member Posts: 6
edited November -1 in Working with GS (Mac)
I'm planning on making a game that involves sone sort of fighting.

I want the enemy character to fight the player but not just repeatedly attack like crazy, just throw a few hits, maybe defend or retreat.

How would I make an enemy intelligent enough to do this ?
Sign In or Register to comment.