Derezzes an object previously rezzed from within the object containing the script.
integer llDerezObject( key id, integer flag );
Forced delay: 0.0 seconds. Energy: 10.0.
Returns a boolean (an integer) which is TRUE for success or FALSE for failure.
Deletes, or marks temp, an object that was previously rezzed by this script. The object's root prim must have been previously rezzed from a script within this object. If the object is successfully deleted this function returns TRUE, if it fails for any reason it returns FALSE.
| Constant | Value | Description |
|---|---|---|
| DEREZ_DIE | 0 | Immediately delete the object. |
| DEREZ_MAKE_TEMP | 1 | Mark the object as temporary so that the simulator will remove the object at a later time. |
| DEREZ_TO_INVENTORY | 2 | Returns the targeted object to derezzer's inventory and saves its current state. |