I'm looking for a program for a melee turtle to make it attack for a limited time(for about 3 seconds)
and not forever.
Melee turtle program
Started by Tin, Jun 08 2013 11:16 AM
2 replies to this topic
#1
Posted 08 June 2013 - 11:16 AM
#2
Posted 08 June 2013 - 02:19 PM
Split into new topic.
#3
Posted 08 June 2013 - 07:35 PM
The simple way:
The higher the number you put in place of "<somenumber>", the more times the loop will repeat and hence the longer the turtle will attack.
for i=1,<somenumber> do turtle.attack() sleep(0.5) end
The higher the number you put in place of "<somenumber>", the more times the loop will repeat and hence the longer the turtle will attack.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











