Interactable.bindDamageDestruction

Binds a callback to be called if the interactable is destroyed through a source of damage.

Kind: Function

Environments: Game

Game

interactable:bindDamageDestruction( callback )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
interactable Interactable The interactable.
callback string The name of the lua function to bind.