[Rseding91] Dying explosion created as same force as dying entity

This subforum contains all the issues which we already resolved.
Veden
Filter Inserter
Filter Inserter
Posts: 294
Joined: Wed Jul 13, 2016 3:54 pm
Contact:

[Rseding91] Dying explosion created as same force as dying entity

Post by Veden »

Currently if you take an unit and add a dying explosion that creates an entity like an assembling-machine-1, the created entity is created under the players force instead of the dying units force.

Would it be possible to have this switched so that the dying explosion is created with the same force as the dying entity?

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5218
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Dying explosion created as same force as dying entity

Post by Klonan »

You can use a 'dying_trigger_effect` instead of a dying_explosion, this will let you create an entity with the correct force (or do anything with the trigger effect)

Rseding91
Factorio Staff
Factorio Staff
Posts: 13974
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Dying explosion created as same force as dying entity

Post by Rseding91 »

That seems more like a bug in the logic than a mod interface request. I'm going to move this to bug reports and assign it to myself.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”