Callback.EntityDeathFunction
Callable
Parameters
entityUid: number
attackerUid: number
entity that caused damage, determines actor of damage source,
-1otherwisedamageType: number
existing Entity.DamageSource or any inclusive value between 25 and 32
Returns void
Function used in "EntityDeath" callback.