This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ardevlirn's profile picture

[HELP !] turtle follows a path

Started by ardevlirn, 20 June 2014 - 11:36 AM
ardevlirn #1
Posted 20 June 2014 - 01:36 PM
Hi,
I create an API for a turtle to follow a path.
But it does not work at the "waystop" more accurately to my variable "stop".

Please help me,
I look for 4 hours without result and sorry for my bad english.

CODE : http://www.pastebin.com/bAUmrgHy
Edited on 20 June 2014 - 02:43 PM
Lyqyd #2
Posted 20 June 2014 - 02:59 PM
Moved to Ask a Pro.
Xab #3
Posted 20 June 2014 - 07:47 PM
The API code looks fine to me, unless I'm missing something. Did you want to change variable "stop" outside of the API? If so, you'll need a function to do it, ie: function stop() stop = true end
Edited by
ardevlirn #4
Posted 20 June 2014 - 09:27 PM
can you give me more explanation please
ardevlirn #5
Posted 20 June 2014 - 10:06 PM
Okay, sorry a delete the first line "stop = false" and it's work.
thanks for the help.