Jump to content




Turtle and redstone in motion


  • You cannot reply to this topic
1 reply to this topic

#1 Jorrow

  • New Members
  • 1 posts

Posted 06 March 2014 - 04:11 PM

Can someone help me I want to make a turtle do peripheral.call("front","move",2,false,false) then I want the turtle to move right one and run peripheral.call("front","move",2,false,false) again. Do this 16 times then do it going left 16 times then start again.
so the block constantly go right 16 then left 16. I hope this makes sense thanks for any help

#2 CometWolf

  • Members
  • 1,283 posts

Posted 06 March 2014 - 05:46 PM

What you'll need is just some simple turtle move commands in a for loop, in another while loop.

Here's all the turtle commands
http://computercraft...urtle_%28API%29
and here how to make looping code
http://computercraft.info/wiki/Loops





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users