Jump to content




Infinite Loop With Break Switch

turtle lua

2 replies to this topic

#1 saikit555

  • Members
  • 25 posts

Posted 21 August 2013 - 10:59 AM

So i want to have my turtle do an infinite loop. so i did... edit startup
Spoiler

how do i make it so that i can hit a key(e.g. ENTER) to break the loop.

#2 MR_nesquick

  • Members
  • 106 posts
  • LocationNorway

Posted 21 August 2013 - 11:35 AM

you can try os.pullEvent
Spoiler


#3 saikit555

  • Members
  • 25 posts

Posted 21 August 2013 - 12:14 PM

 MR_nesquick, on 21 August 2013 - 11:35 AM, said:

you can try os.pullEvent
Spoiler

it works:) thanks:)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users