Hm…It seems very buggy. When I command my hero to attack self.findNearest(self.findEnemies())
, she goes back to the beginning and runs into the wall.
When I command her to attack self.findNearest(self.findByType())
, she just stands there. I still haven’t found a way to get past that.
What kind of glasses to you have?
I have Twilight Glasses.
I found if I moved close to the ogre, and then attacked, it seemed to work out ok?
You are probably targeting things outside the map that are impossible to get to. If you’re using glasses that see through walls, hopefully you are familiar with isPathClear()
Oh, I think I see. When I went into the Level Editor, there was a Dungeon Door and an Electrowall sitting just outside the map. Those were probably what I was trying to get to.