Function of EntityAmendSpec
entityAmendSpec.on_remove
Called when it leaves the world; why is "removed", "settled", "killed" or "unloaded". Not called when the pack goes away.
entityAmendSpec.on_remove((e: EntityHandle, why: string?) -> ()) → ?
Parameters
(eEntityHandle, why: string?) -> ()Returns
?