07-09-2017, 11:25 AM
(07-09-2017, 11:12 AM)radioactivity Wrote: The radar command has min parameter which will make it find closest ores that are at least min away. If I remember correctly it's just another parameter after regular range, so:Thank you, but I've already found the problem. Command radar has 'sens', which determines whether the closest objects will be found first or the fartherst.
Code:radar(TitaniumOre, 0, 360, range, 15)
This should make it so bot doesn't look for ores that are within 15 meters from it. Notice that it works as properly only if you radar while in spaceship. Do check radar in SatCom though, as I am not sure.
If you are a perfectionist, you can browse though list of all objects on map, save all Titanium Ores that are not on space ship (> 10m away) in array, pick the from the array the one that's closest. This level of pettiness shouldn't be necessary though