Skating Away Help Please [SOLVED]

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

1 Like

Where did you put that line?

where it is meant to say goal = Vector.add(goal, vector)

1 Like

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

1 Like

ok
i will try that too

1 Like

Im having school currently so sorry if things get messed up

thanks (20chars) :clap:
i finished the level

2 Likes

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! :partying_face:

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!

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.