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
add find_units for Search across the entire surface
Re: add find_units for Search across the entire surface
in addition , I can't find a natural one?
surface.find_units({ area = { { -2000, -2000 }, { 2000, 2000 } }, force = "neutral", condition = "all" })
surface.find_units({ area = { { -2000, -2000 }, { 2000, 2000 } }, force = "neutral", condition = "all" })