Page 1 of 1
[SOLVED] command to remove every belt from a map?
Posted: Sun Sep 03, 2017 12:45 pm
by impetus maximus
is there a console command i could use to remove all the belts from a map?
Re: command to remove every belt from a map?
Posted: Sun Sep 03, 2017 12:46 pm
by Nexela
/c for _, belt in pairs(game.player.surface.find_entities_filtered{type = "transport-belt"}) do belt.destroy() end
Re: command to remove every belt from a map?
Posted: Sun Sep 03, 2017 12:51 pm
by impetus maximus
wow you are fast. many thanks.
