OnObjectDestroyed: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Welcome|desc=Called when an object is destroyed/streamed out. | params=<source>( objectId )</source> <poem>::objectId : The ID of the object </poem>| example=<source lang="lua"> function OnObjectDestroyed(objectId) { SendChat("Where did object" + objectId + "go"); } </source>| relfuncs=*OnObjectStreamIn *OnObjectUpdate *IsObjectStreamedIn *SendChat }}") |
No edit summary |
||
Line 6: | Line 6: | ||
function OnObjectDestroyed(objectId) | function OnObjectDestroyed(objectId) | ||
{ | { | ||
SendChat("Where did object" + objectId + "go"); | SendChat("Where did object" + objectId + "go?"); | ||
} | } | ||
</source>| | </source>| |
Latest revision as of 08:58, 14 November 2023
Description:
Called when an object is destroyed/streamed out.
Parameters:
( objectId )
objectId : The ID of the object
Return Values:
This function does not return any specific values.
Example
function OnObjectDestroyed(objectId) { SendChat("Where did object" + objectId + "go?"); }
Related Functions
The following functions may be helpful as they relate to this function in one way or another.