Posted 02 July 2012 - 12:57 AM
I'm writing a program for my turtle that will allow it to deliver some TNT x blocks away, activate it, and detonate it. All of these lines are within disk/bomb.
I have two questions:
1. When I type "turtle.forward(x)" (with "x" being the number of desired blocks), he only goes forward one block. I can only make him go forward more than one block by typing "turtle.forward()" as many times as blocks I want him to move. Is that the only way to get him to move multiple blocks, or am I doing it wrong?
2. I can get the turtle to move to the spot I want it to, and I can get it to place a block. But I cannot get it to "redpulse." This works when using just the Turtle OS, but not when using disk/bomb. Can I not use built-in programs from the turtle inside my own programs in the disk?
(Also, just a question of terminology: what would I call "disk/bomb"? Is that a function? Or is it a program?)
I have two questions:
1. When I type "turtle.forward(x)" (with "x" being the number of desired blocks), he only goes forward one block. I can only make him go forward more than one block by typing "turtle.forward()" as many times as blocks I want him to move. Is that the only way to get him to move multiple blocks, or am I doing it wrong?
2. I can get the turtle to move to the spot I want it to, and I can get it to place a block. But I cannot get it to "redpulse." This works when using just the Turtle OS, but not when using disk/bomb. Can I not use built-in programs from the turtle inside my own programs in the disk?
(Also, just a question of terminology: what would I call "disk/bomb"? Is that a function? Or is it a program?)