Difference between revisions of "LlGetStatus"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=46|func_sleep=0.0|func_energy=10.0|func=llGetStatus|return_type=integer|p1_type=integer|p1_name=status|func_footnote=gets value of status (STATUS_PHYSICS, STATUS_PHANTOM, STATUS_BLOCK_GRAB,<br />STATUS_ROTATE_X, STATUS_ROTATE_Y, and/or STATUS_ROTATE_Z)|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func_id=46|func_sleep=0.0|func_energy=10.0
|func=llGetStatus
|return_type=integer|p1_type=integer|p1_name=status
|func_footnote
|func_desc=Gets
|return_text=bitfield that is the status of the object.
|spec
|caveats
|constants={{LSL Constants/Status}}
|examples
|helpers
|also_functions=
{{{!}}
{{LSL DefineRow||{{LSLG|llSetStatus}}|Sets the object status.}}
{{!}}}
|also_tests
|also_events
|also_articles
|notes
|cat1
|cat2
|cat3
|cat4
}}

Revision as of 13:02, 21 February 2007

Summary

Function: integer llGetStatus( integer status );
0.0 Forced Delay
10.0 Energy

Gets
Returns an integer bitfield that is the status of the object.

• integer status

Constants Value Default Description
STATUS_PHYSICS 0x001 FALSE Object is physical
STATUS_ROTATE_X 0x002 TRUE Can turn along this axis (physical objects only)
STATUS_ROTATE_Y 0x004 TRUE Can turn along this axis (physical objects only)
STATUS_ROTATE_Z 0x008 TRUE Can turn along this axis (physical objects only)
STATUS_PHANTOM 0x010 FALSE Object is phantom
STATUS_SANDBOX 0x020 FALSE Keep object within 10 meters and in the same region
STATUS_BLOCK_GRAB 0x040 FALSE Prevent click-and-drag movement on the root prim
Constants Value Default Description
STATUS_DIE_AT_EDGE 0x080 FALSE* Delete and do not return object if it goes off world
STATUS_RETURN_AT_EDGE 0x100 FALSE Return object to owner if it goes off world
STATUS_CAST_SHADOWS 0x200 TRUE not currently used
STATUS_BLOCK_GRAB_OBJECT 0x400 FALSE Prevent click-and-drag movement on all prims in the object
STATUS_DIE_AT_NO_ENTRY 0x800 FALSE Delete and do not return object if it cannot enter a parcel
* 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

Examples

See Also

Functions

•  llSetStatus Sets the object status.

Deep Notes

Signature

function integer llGetStatus( integer status );