I've been reading threads and tutorials for several hours but I can't find an answer to this.
I'm making a tower-defense kind of game.
When a MOB get's to a "base" I want it to start attacking the base.
When it's within X pixels, attack... then wait, then attack again.
(Ultimately, I also want them to attack other nearby structures/MOBS, but I'll be happy to get this going for now.)
This seems easy enough, but I'm not finding the answers I'm looking for.
Thanks!!!!!