computercraft lua minecraft vid #2 tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

while x==5 then
...
end

that loop will run when x is equal to 5 or...

while x>5 then
...
end

the loop will then run when x is greater then 5 and so on with other functions like ~= for not equal too, <= less then and equal too, etc.

MrSovr
Автор

if you are doing a loop that goes on forever you need to make sure you have a sleep() command within that loop. here is an example that should work:

while true do
print("hello")
sleep(0.5)
end

that loop should work, and just print hello a bunch of times! the sleep command keeps the loop updated. post a comment again if you do not understand. Make sure to subscribe to my channel also and like Parkers apps on facebook... here I will subscribe to you :-)

MrSovr
Автор

how do i make the turtle either turn left or right OR make it move left and right, ik how to the the forward, like turtle.forward() but i wanna know how to make my turtle go left and right! HELP ME

minecraftkid
welcome to shbcf.ru