Warning | ||
---|---|---|
| ||
It's not certain whether this function will change or be deprecated in future releases, so use with care. |
Overview
Excerpt |
---|
Register a function to be called when a game object gets destroyed |
...
This is incredibly useful because you can use it on objects owned by other players, and even destroyable features like trees.
...
. |
To detect when your own objects are destroyed, it's easier to use eventDestroyed() because it avoids having to bind to individual objects.
Availability
3.1 Beta 1 and above.
...
...
...
...
See also
...