Continuing the discussion from [SOLVED] Python Blind Distance:
while True:
enemyDistance = nearestEnemyDistance()
# If the enemyDistance is greater than 0:
if hero.distanceTo > 0:
# Say the value of enemyDistance variable.
hero.say(enemyDistance)
I don’t know what I have to do to fix it… giving me errors