Jump to content




[HELP !] turtle follows a path

turtle

4 replies to this topic

#1 ardevlirn

  • Members
  • 4 posts

Posted 20 June 2014 - 12: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 by ardevlirn, 20 June 2014 - 03:43 PM.


#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 20 June 2014 - 01:59 PM

Moved to Ask a Pro.

#3 Xab

  • Members
  • 9 posts

Posted 20 June 2014 - 06: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 AliquotMesozoic, 20 June 2014 - 09:02 PM.
Erroneously edited


#4 ardevlirn

  • Members
  • 4 posts

Posted 20 June 2014 - 08:27 PM

can you give me more explanation please

#5 ardevlirn

  • Members
  • 4 posts

Posted 20 June 2014 - 09:06 PM

Okay, sorry a delete the first line "stop = false" and it's work.
thanks for the help.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users