OnObjectDestroyed
Revision as of 08:57, 14 November 2023 by Habi (talk | contribs) (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 }}")
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.