mod development

Place to get help with not working mods / modding interface.
User avatar
evandro_6565
Inserter
Inserter
Posts: 40
Joined: Sat Mar 28, 2020 1:04 pm
Contact:

mod development

Post by evandro_6565 »

I need help. I'm new to mod development. how do I mark entities so that the DECONSTRUCTION BOTS remove them by means of selection. :!:
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3749
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: mod development

Post by DaveMcW »

LuaEntity.order_deconstruction()

Code: Select all

/c
entity = game.player.selected
entity.order_deconstruction(entity.force)
Post Reply

Return to “Modding help”