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