Page 1 of 1

SpaceLocationPrototype::draw_orbit - API documentation doesn't match

Posted: Thu Nov 28, 2024 11:13 am
by plexpt
https://lua-api.factorio.com/latest/pro ... draw_orbit

please update this
People would think it for a ring of satellite orbits around a planet.
but in fact it is---
"It does not draw the orbit around the Sun if false."

Re: API documentation doesn't match

Posted: Thu Nov 28, 2024 1:19 pm
by Xorimuth
Agreed, when I first used it I expected it to remove the ring around the planet, rather than around the sun.

Re: SpaceLocationPrototype::draw_orbit - API documentation doesn't match

Posted: Sun Dec 01, 2024 9:23 pm
by BraveCaperCat
Luckily I had my friend (who made this topic) to help describe the property properly. Unfortunately, this issue wouldn't matter for me even if my friend didn't describe it as draw_orbit being a boolean and there being no property to change the parent object would be enough to push me in the right direction towards it's correct use.