[SOLVED] Why is it not finding that ogre?

You have to use enemy = hero.findNearestEnemy() inside the while true loop before you attack the enemy.

Haha of course! why did I not think of that?

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.