Im trying to get my drone to pause for a moment after it moves but it seems the drone reads the code too fast and instead just jutters like as if it was nodding... what's the shortest piece of code (thats compatible for both mac and windows) can you put in the sequence to tell it to pause for a second or two? here's my code:
local r=component.proxy(component.list("radar")())
local m=component.proxy(component.list("modem")())
local d=component.proxy(component.list("drone")())
d.setLightColor(0x00FFD8)
m.open(001)
while true do
local evt_,_,_,_,name,cmd,x,y,z = computer.pullSignal()
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Im trying to get my drone to pause for a moment after it moves but it seems the drone reads the code too fast and instead just jutters like as if it was nodding... what's the shortest piece of code (thats compatible for both mac and windows) can you put in the sequence to tell it to pause for a second or two? here's my code:
Link to post
Share on other sites