[solved] "position" parameter of find_entities_filtered
Posted: Wed Oct 26, 2016 10:32 pm
I would like to ask what does the "position" parameter of the LuaSurface::find_entities_filtered method actually does in the following cases:
-There is a position AND an area present in the table
-There is ONLY a position present in the table (this is the most important as I need to find all entities that cover a certain tile/position).
since on the documentation (http://lua-api.factorio.com/latest/LuaS ... s_filtered) it doesn't actually say.
Note that find_entity will not work since that requires a specific type of entity.
-There is a position AND an area present in the table
-There is ONLY a position present in the table (this is the most important as I need to find all entities that cover a certain tile/position).
since on the documentation (http://lua-api.factorio.com/latest/LuaS ... s_filtered) it doesn't actually say.
Note that find_entity will not work since that requires a specific type of entity.