Detect if chunk contains player buildings?

Place to get help with not working mods / modding interface.
Oarc
Fast Inserter
Fast Inserter
Posts: 123
Joined: Sun Sep 18, 2016 2:04 pm
Contact:

Detect if chunk contains player buildings?

Post by Oarc »

How do I check of an area of the map contains player buildings?

I don't want this to include robots or vehicles. I don't care about tiles either, but I can take it or leave it for tiles.

I can do a search for all entities matching the player force, and then check that table for robots/players/vehicles... Anything better?
Post Reply

Return to “Modding help”