I'm having trouble figuring this out. I have an enemy that is a bit . . Wonky to say the least.
The setup is this: The player has a giant invisible sprite around him, and when the enemy touches this, the enemy stops (so far so good) When the enemy has stopped, I start a variable that waits 1 second, then decides whether to throw knife high, low, or not at all.
I kind of got it working, but the enemy cycles through all his choices really fast, ending in a spectacle where he's just flailing about.