Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't make the programm find 4 items
#2
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:



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
"Deep within all of us lives an idiot, and if you let that idiot dictate your decisions your live is going to be rough."
~ Ryan Letourneau, 2k15


Messages In This Thread
RE: Can't make the programm find 4 items - by radioactivity - 07-09-2017, 11:12 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)