can you help out on the mighty sand yak
Please could you post your code (formatted as it says here: [Essentials] How To Post/Format Your Code Correctly) and explain your problem,
Danny
1 Like
While true:
x = hero.pos.x
y = hero.pos.y
yak = hero.findNearestEnemy()
if hero.distanceTo(yak)< 10:
enemy = self.findNearestEnemy()
if enemy:
hero.distanceTo()<10
x = self.pos.x + 10
y = self.pos.y
self.moveXY(x, y)
else;
pass
i dont know what is wrong
hi
[en_US.composer.my_button_text]
Can you format your code here, like @Deadpool198 said
3 Likes
Hey~ can you format your code using the </>
? After doing that, I’ll be able to help
-Rachel