find_entities_filtered: Support for "area" around "position"

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Soul-Burn
Long Handed Inserter
Long Handed Inserter
Posts: 56
Joined: Sun Jan 31, 2021 9:07 pm
Contact:

find_entities_filtered: Support for "area" around "position"

Post by Soul-Burn »

There are many times when I am looking for entities around another entity, e.g. mining area of mining drills or inserters around an assembler.
For this, I have to use various bounding box functions to produce the area from the bounding box or position of the entity.

I suggest that when "area" and "position" both exist, the area would be translated around the given position, similar to how "radius" works but for a rectangular area.
Post Reply

Return to “Modding interface requests”