Page 1 of 1

mod development

Posted: Sun Mar 29, 2020 10:21 pm
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. :!:

Re: mod development

Posted: Sun Mar 29, 2020 11:06 pm
by DaveMcW
LuaEntity.order_deconstruction()

Code: Select all

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