Difference between revisions of "PRIM TEMP ON REZ"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{#if: {{LSL_Constants/PrimitiveParams}} }}{{LSL Constant |name=PRIM_TEMP_ON_REZ |type=integer |value=4 |desc=Makes prim temporary. It lives until the next garbage collection cycle (about ...)
 
((I'm guessing on the version number))
Line 1: Line 1:
{{#if:
<onlyinclude>{{#if:
{{LSL_Constants/PrimitiveParams}}
 
{{#vardefine:temponrez_const|{{LSL Const|=PRIM_TEMP_ON_REZ|integer|4|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the objects Temporary status}}}}
 
}}<onlyinclude>{{#if:
 
{{LSL_Function/boolean|boolean}}
 
}}{{LSL Constant
}}{{LSL Constant
|name=PRIM_TEMP_ON_REZ
|name=PRIM_TEMP_ON_REZ
|type=integer
|type=integer
|value=4
|value=4
|desc=Makes prim temporary. It lives until the next garbage collection cycle (about 1 minute). Does not count against prim limits.
|desc=Used to get or set the objects temporary status. It lives until the next garbage collection cycle (about 1 minute). Does not count against prim limits. There are limits to the number of temporary objects that can exist in a region and the garbage collector may run sooner then expected.
|examples=
|examples=
|constants=
|constants=
Line 15: Line 21:
{{LSL DefineRow||[[changed]]|}}
{{LSL DefineRow||[[changed]]|}}
|location
|location
|history=Before SL 1.9 objects would only be recognized by the garbage collector as temporary if they were rezzed with the temporary status already set. Setting the attribute only effected the object the next time it was rezzed. With 1.9 this was changed so that changing this status flag effected the object immediately. The constant name however was not changed to reflect this functionality change.
|cat1=Prim
|cat1=Prim
|cat2
|cat2=Status
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 19:16, 17 April 2008

Description

Constant: integer PRIM_TEMP_ON_REZ = 4;

The integer constant PRIM_TEMP_ON_REZ has the value 4

Used to get or set the objects temporary status. It lives until the next garbage collection cycle (about 1 minute). Does not count against prim limits. There are limits to the number of temporary objects that can exist in a region and the garbage collector may run sooner then expected.

Caveats


Related Articles

Deep Notes

History

Before SL 1.9 objects would only be recognized by the garbage collector as temporary if they were rezzed with the temporary status already set. Setting the attribute only effected the object the next time it was rezzed. With 1.9 this was changed so that changing this status flag effected the object immediately. The constant name however was not changed to reflect this functionality change.

Search JIRA for related Issues

Signature

integer PRIM_TEMP_ON_REZ = 4;