Page 1 of 1

add find_units for Search across the entire surface

Posted: Sun Jan 05, 2025 10:43 pm
by plexpt
https://lua-api.factorio.com/latest/cla ... find_units

Now I have to pass in area, but I need to search the entire surface, otherwise I will get an error.

value for required field 'area' is missing

Re: add find_units for Search across the entire surface

Posted: Sun Jan 05, 2025 10:58 pm
by plexpt
in addition , I can't find a natural one?

surface.find_units({ area = { { -2000, -2000 }, { 2000, 2000 } }, force = "neutral", condition = "all" })