Page 1 of 1
					
				Deconstruct entities from another force?
				Posted: Mon Sep 21, 2020 12:21 am
				by pulsereaction
				Hey friendos, I've looked through the force API and couldn't find anything related to this. Is there a way to set one force to be able to have its entities marked for deconstruction by another one?
			 
			
					
				Re: Deconstruct entities from another force?
				Posted: Mon Sep 21, 2020 9:28 am
				by darkfrei
				pulsereaction wrote: Mon Sep 21, 2020 12:21 am
Hey friendos, I've looked through the force API and couldn't find anything related to this. Is there a way to set one force to be able to have its entities marked for deconstruction by another one?
 
You can make your own selection tool and via the script change the force for all selected entities, than set as marked to deconstruction.
Or don't change the force.
Or drop the loot from destroyed entity.
https://mods.factorio.com/mod/LootingRemnants 
			
					
				Re: Deconstruct entities from another force?
				Posted: Mon Sep 21, 2020 9:36 am
				by Klonan
				Unfortunately entity deconstruction only works with the same force or neutral force.
			 
			
					
				Re: Deconstruct entities from another force?
				Posted: Mon Sep 21, 2020 9:54 am
				by Bilka
				Klonan wrote: Mon Sep 21, 2020 9:36 am
Unfortunately entity deconstruction only works with the same force or neutral force.
 
*only works with the same force or entities without force. You can't deconstruct e.g. a neutral force transport-belt either.