Detect if chunk contains player buildings?
Posted: Mon Aug 07, 2017 5:25 am
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?
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?