BTpat
03-27-2016, 08:10 PM
Hello guys
Started to play around with scripting.
I've seen that this forum is preety much, "I'm a progger ure a noob" principle, which is totaly understandable since many ppl just want a scrips or 2 and theyre gona.
No negative points for that of course.;)
I'm looking for a "list" or a library with the basic commands for xenobot. And maybe a small How to "prog" in lua.
For ex.
----------------------
<Header, load thing 1,2,3>
<how to initiate a function>
<what the function does>
end.
----------------------
How a basic programm would look like, the main things you:eek: need in the start so that xenobot can read it.
And of course as metioned all the logical functions xenobot can take
ex.
------------------------------
Play.goto(x,y,z)
Open.door(direction)
use.item.from.bp(bp.nr.x,direction/location)
If(blablabla)than else (Those maybe just in case lua is difrent from usual c++ commands)
...
...
In case something like that exists than I'm sorry, just show me where and ill be happy :).
Ps. In case you don't know any of the above, maybe you know how to code the usage of a shovel on a quadrant next to you? :p
Much appreciated
Started to play around with scripting.
I've seen that this forum is preety much, "I'm a progger ure a noob" principle, which is totaly understandable since many ppl just want a scrips or 2 and theyre gona.
No negative points for that of course.;)
I'm looking for a "list" or a library with the basic commands for xenobot. And maybe a small How to "prog" in lua.
For ex.
----------------------
<Header, load thing 1,2,3>
<how to initiate a function>
<what the function does>
end.
----------------------
How a basic programm would look like, the main things you:eek: need in the start so that xenobot can read it.
And of course as metioned all the logical functions xenobot can take
ex.
------------------------------
Play.goto(x,y,z)
Open.door(direction)
use.item.from.bp(bp.nr.x,direction/location)
If(blablabla)than else (Those maybe just in case lua is difrent from usual c++ commands)
...
...
In case something like that exists than I'm sorry, just show me where and ill be happy :).
Ps. In case you don't know any of the above, maybe you know how to code the usage of a shovel on a quadrant next to you? :p
Much appreciated