10-08-2017, 09:00 PM
If you want to find empty space, use space(), more info on satcom.
You can do things such as
errmode(0);
goto(space(targetPosition));
while(drop()!=0){
goto(space(position));
}
errmode(1);
It should find empty space.
In case of platforms, such as Converters,
I noticed that people do the table that contains occupied points, shared between bots, and checks if point does not exist in table when needed. However, you can do the table with empty places, it just looks like not straight solution for me
You can do things such as
errmode(0);
goto(space(targetPosition));
while(drop()!=0){
goto(space(position));
}
errmode(1);
It should find empty space.
In case of platforms, such as Converters,
Quote:"do I need to create some kind of table that contains points for empty space?"
I noticed that people do the table that contains occupied points, shared between bots, and checks if point does not exist in table when needed. However, you can do the table with empty places, it just looks like not straight solution for me