Can I delay robot.detect()? At the moment, my robot trying to detect a block in front of it, but as I understand, it does this before it moves. So it detects nothing, this causes bug. Is there any way to delay detecting so it can detect after it moves?
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.
Can I delay robot.detect()? At the moment, my robot trying to detect a block in front of it, but as I understand, it does this before it moves. So it detects nothing, this causes bug. Is there any way to delay detecting so it can detect after it moves?
Here is code btw:
https://hastebin.com/itevasanij.lua
Thanks in advance.
Link to post
Share on other sites