Colobot Forum - International Colobot Community

Full Version: Why goto so stupid?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I found Titanium by radar() and use goto() to this. But my bot are trying to go through cell on map. An one minute it tried to go through obstruction.

Or I radar() ant and goto() it. But bot are try to go on unreal road for wheels and failed...

Why goto() so stupid and what to do?
Write your own goto(); version..?

It is known for a long time that current goto(); is stupid and buggy. It will be rewritten in the near future.
goto() was somewhat poorly written and still requires a lot of improvements. It's not completely useless, but if you want to do something more advanced you may want to write your own version of goto(). Some people wrote their own versions at some point, you can ask for them.