Posted 19 June 2013 - 10:44 PM
Alright guys, I'm trying to get a clearArea program running, but much to my demise, the very end of the program has some random call to my continue() function though the condition to run it should be false (actually in the command stream, it should not even be checking it again at all). It runs as usual, properly performs the X while statement in init() by executing continue at proper times, but at the end of the while statement, continue gets called again….somehow. Ideas?
http://pastebin.com/vHJbJ8qF
If you put a 2x2 blockset in front of the turtle with him in the far left corner and use clearArea, he will properly mine them (and any dimensions if you change width and length), the issue occurs when
he gets to the end of the loop, instead of sitting there and waiting, he calls continue() which essentially makes him appear to flip out at the end of the loop. Why is it getting called?
http://pastebin.com/vHJbJ8qF
If you put a 2x2 blockset in front of the turtle with him in the far left corner and use clearArea, he will properly mine them (and any dimensions if you change width and length), the issue occurs when
he gets to the end of the loop, instead of sitting there and waiting, he calls continue() which essentially makes him appear to flip out at the end of the loop. Why is it getting called?