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

Turtle Blocktype Follower

Started by Micha, 07 September 2012 - 12:51 PM
Micha #1
Posted 07 September 2012 - 02:51 PM
http://pastebin.com/TC9XmGWL

Run this script on a turtle and it will follow whatever the turtle has got in its inventory. The script is designed to follow train tracks, but it could be used to follow any type of block. The current version can't handle slopes.

enjoy!
D3matt #2
Posted 07 September 2012 - 08:04 PM
Does it follow above the chosen block type or next to it? Will it dig if it encounters an obstacle?
Micha #3
Posted 08 September 2012 - 11:02 AM
It follows the blocks from above and it will not dig when an obstacle is in the way, just like a minecart would on a level train track.