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

[Lua][Help]Turtle (turtle.forward()) help

Started by ChaddJackson12, 27 October 2012 - 12:39 AM
ChaddJackson12 #1
Posted 27 October 2012 - 02:39 AM
I have a problem. I am using a wireless turtle, and I try to make it move forward like this:


turtle.forward()

It simply does not move at all.. I have even tried this code:


turtle.forward()
if turtle.forward() then
  print("Success.")
else
  print("Failure.")
end

That prints "Failure" and the turtle still does not move. I put the turtle in an open area away from walls, so that wouldn't be the problem.

Please help me as much as you can, thanks in advance.
ChunLing #2
Posted 27 October 2012 - 03:49 AM
How much fuel does the turtle have?
mrSLIMEguy #3
Posted 27 October 2012 - 04:17 AM
Do you have fuel enabled in the config?
If so, put in some coal and type in lua:
turtle.refuel()
ChaddJackson12 #4
Posted 27 October 2012 - 04:19 AM
How much fuel does the turtle have?
Ah, I feel really stupid right now, I didn't even check that. I probably should…