Difference between revisions of "PRIM TEMP ON REZ"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<onlyinclude>{{#if:
<onlyinclude>{{#if:


{{#vardefine:temponrez_const|{{LSL Const|=PRIM_TEMP_ON_REZ|integer|4|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the objects Temporary status}}}}
{{#vardefine:temponrez_const|{{LSL Const|PRIM_TEMP_ON_REZ|integer|4|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the objects Temporary status}}}}


}}<onlyinclude>{{#if:
}}</onlyinclude>{{#if:


{{LSL_Function/boolean|boolean}}
{{LSL_Function/boolean|boolean}}
Line 12: Line 12:
|value=4
|value=4
|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.
|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.
|pa={{LSL Constant/List|i_front=[&#32;{{#var:temponrez_const}},&#32;|i_end=&nbsp;]
|pa={{LSL Constant/List|i_front=[&#32;{{#var:temponrez_const}}|i_end=&nbsp;]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|i1_type=integer|i1_name=boolean
|i1_type=integer|i1_name=boolean

Revision as of 19:24, 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.

[ PRIM_TEMP_ON_REZinteger boolean ]

[ PRIM_TEMP_ON_REZinteger boolean ]
• integer boolean TRUE enables, FALSE disables

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

llGetPrimitiveParams([ PRIM_TEMP_ON_REZ,  ]);

llGetPrimitiveParams([ PRIM_TEMP_ON_REZ,  ]);

Returns the list [ integer boolean ]

• integer boolean TRUE enables, FALSE disables

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;