[SOLVED] Trouble on range finder

So I’ve been on range finder for about 30 minutes now, changing code looking up help, and still can’t seem to find the solution. Here is my code
image

Hi pyke. Welcome to Discourse!

enemies = hero.findEnemies()

This looks for an array. It’s not needed in this level.

enemy3 = "Charles"

This is a peasant. You don’t want to blow him up so don’t say his distance.

You never define or say distance4.

`

1 Like

Problem solved, thanks!