Category:LSL Temporary
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Temporary is an object property, when enabled the simulator will delete the object during it's next garbage collection cycle. This typically happens once a minute but can also be triggered if the parcel is full and an object is requested to be rezzed.
- Set:
llSetLinkPrimitiveParamsFast( LINK_THIS, [ PRIM_TEMP_ON_REZ, integer boolean ]);
- Get:
integer boolean = llList2Integer(llGetObjectDetails( key id, [ OBJECT_TEMP_ON_REZ ]), 0);
Inheritance
If an object is rezzed by another object, the newly rezzed object inherits the parent's temporary attribute. This however does not apply to attachments or objects that are being sat upon (such as vehicles).
History
Formally this feature could only be activated by rerezzing the object after setting the attribute, hence the name of the constants *_TEMP_ON_REZ. This however was changed with the release of SL 1.9 in 2006. The attribute is now interpreted to mean that the object should be deleted during the next garbage collection cycle.
Similar features:
- Sandbox Regions
- Auto Return
- llDie
- Falling off a World Edge
Pages in category "LSL Temporary"
The following 4 pages are in this category, out of 4 total.