Idk (20 char) n n n n
1 Like
Well, you should check after this line:
Andrei
1 Like
while True:
# Call nearestEnemyDistance() and
# save the result in the variable enemyDistance.
enemyDistance = nearestEnemyDistance()
# If the enemyDistance is greater than 0:
# Say the value of enemyDistance variable.
I am just going to reset.
1 Like
while True:
# Call nearestEnemyDistance() and
# save the result in the variable enemyDistance.
enemyDistance = nearestEnemyDistance()
# If the enemyDistance is greater than 0:
distance = hero.distanceTo(target)
# Say the value of enemyDistance variable.
hero.say(target)
@AnSeDra
@Deadpool198
I need help
Try to do this.
Andrei
@AnSeDra means
check if your variable
is > 0
2 Likes
and then at the last part say the variable
1 Like