Posted 26 February 2012 - 12:41 PM
Hello pros.
I've just tried out ComputerCraft, mostly the Turtles. I'm a programmer, but lua is a new language to me.
I'm trying to make some kind of pathfinder, I'm probably going to use Dijkstras algorithm, but I'm having problems to assign a goal. I was thinking of using redstone input at the goal, so the Turtle can detect it, but I don't really understand how to do it.
Can someone give me a short example how to see if there is any redstone input to/around the Turtle?
I've just tried out ComputerCraft, mostly the Turtles. I'm a programmer, but lua is a new language to me.
I'm trying to make some kind of pathfinder, I'm probably going to use Dijkstras algorithm, but I'm having problems to assign a goal. I was thinking of using redstone input at the goal, so the Turtle can detect it, but I don't really understand how to do it.
Can someone give me a short example how to see if there is any redstone input to/around the Turtle?