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

melee turtle help?

Started by Xenoti, 18 April 2013 - 06:47 PM
Xenoti #1
Posted 18 April 2013 - 08:47 PM
I dont know lua, and i just want to make my melee turtles stand there and attack I have conveyor belts leading mobs through them, can someone help me? and make the items drop infront of it?
Hawk777 #2
Posted 18 April 2013 - 10:13 PM

while true do turtle.attack(); turtle.drop() end
should do the job.
jakylorhide #3
Posted 19 April 2013 - 05:15 AM
One then with the turtle.drop command, it drops in front of the turtle, place a chest above/below then use
 turtle.dropUp() ; turtle.dropDown() 
respectively
Hawk777 #4
Posted 19 April 2013 - 12:27 PM
The OP asked for the items to be dropped in front; however, yes, if a different direction is desired, then up and down are both available as well.