Sets the object status attributes indicated in the status} mask to value
Syntax
void llSetStatus( integer status, integer value );
Forced delay: 0.0 seconds. Energy: 10.0.
Parameters
- integer status (bit mask)
- bit mask, STATUS_* flags
- integer value
- boolean, TRUE enables, FALSE disables
Constants
|
|
| * STATUS_DIE_AT_EDGE - If the object is rezzed by a script, the default is TRUE |
| † STATUS_DIE_AT_NO_ENTRY - No-copy objects ignore this flag and remain in-world |
Caveats
- Status is an object attribute; all prims in an object share the same status.
- Except for STATUS_BLOCK_GRAB, this only affects the prim the script is in, child prims in linked objects will not be affected.
- Setting STATUS_PHYSICS fails silently in attached objects. ~ #SVC-6549
- The STATUS_ROTATE_X, STATUS_ROTATE_Y and STATUS_ROTATE_Z flags all require that the object first be made physical to have any effect.
Examples
default
{
state_entry()
{
llSetStatus( STATUS_DIE_AT_EDGE | STATUS_PHYSICS, TRUE);
llSetStatus( STATUS_ROTATE_X | STATUS_ROTATE_Y, FALSE);
}
}
See also
Functions
Deep notes
Issues