Im trying to figure out what the problem is currently. I think you have to replace the yak defilement with this. There will probably be more changes.
yak = hero.findNearestEnemy()
Im trying to figure out what the problem is currently. I think you have to replace the yak defilement with this. There will probably be more changes.
yak = hero.findNearestEnemy()
i got past the first yak by using goal = Vector.subtract(goal, vector)
after that, he barged a yak and you know what happens
Where did you put that line?
where it is meant to say goal = Vector.add(goal, vector)
So this is my if distance < 10 statement you may want to try to copy and paste it into your code and see if that works. (Its not the full working code, please dont ban me) (now deleted, because I thought it was a major hint)
?
i don’t understand
ok
i will try that too
Im having school currently so sorry if things get messed up
thanks (20chars)
i finished the level
Your welcome! Can you please check the checkmate box as solution to the post that lead you to the solution?
Congrats on passing the level!
Also I will delete the if statement now, because I think its a major hint to the level so I hope you are okay with that
He cannot, because he didn’t create this topic.
True, my bad, sorry!
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.