Called after a segmented unit dies.
force?: LuaForce — The force that did the killing if any.segments: PostSegmentDiedData — Information about each of the unit's individual segments when it died.prototype: LuaEntityPrototype — The prototype of the unit that died.quality: LuaQualityPrototype — The quality of the unit that died.damage_type?: LuaDamagePrototype — The damage type that did the killing if any.surface_index: uint32 — The surface the entity was on.unit_number: uint32 — The unit number of the unit that died.name: defines.events — Identifier of the eventtick: uint32 — Tick the event was generated.