Called when a segmented unit dies.
segmented_unit: LuaSegmentedUnit — The unit that died.cause?: LuaEntity — The entity that did the killing if available.force?: LuaForce — The force that did the killing if any.damage_type?: LuaDamagePrototype — The damage type if any.name: defines.events — Identifier of the eventtick: uint32 — Tick the event was generated.