I apology if the answer has already been discussed or given somewhere else, I haven't found a satisfying answer.
For Comprhensive biters I try to get which entity/force destroyed my building.
I am working on on_entity_died event level.
What I know is to get the responsible entity (said alien) in case of a melee destruction.
However when the responsible entity is a projectile, I am interested in getting the projectile thrower/owner/force.
I don't know how to do that. What I have found on forums is that the projectile has no force because it is neutral.
What I would get is the responsible entity (said alien) in case of non-melee destruction.
Any idea ?
Which "faction" destroyed my building ?
- TelemakFactorio
- Long Handed Inserter
- Posts: 53
- Joined: Fri Oct 14, 2016 4:30 pm
- Contact:
Re: Which "faction" destroyed my building ?
Projectile has a force, where did you read otherwise?TelemakFactorio wrote: ↑Tue Nov 05, 2019 6:02 pm I don't know how to do that. What I have found on forums is that the projectile has no force because it is neutral.
- TelemakFactorio
- Long Handed Inserter
- Posts: 53
- Joined: Fri Oct 14, 2016 4:30 pm
- Contact: