I explain my problem, i’m on the goalkeeper desert. And my script have error :
loop:
friends = self.findNearest(self.findFriends())
ball = self.findByType("ball")[0]
if ball.pos.y < 42 and ball.pos.y > 36:
self.command("Burk", "move", {'y': ball.pos.y})
if ball.pos.y < 35 and ball.pos.y > 29:
self.command("Millicent", "move", {'y':ball.pos.y})
i need help my error was on the ball pos i think. Thanks