LlGetStatus
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Summary
Function: integer llGetStatus( integer status );| 46 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Returns an integer boolean equal to the status of the object.
| • integer | status | – | STATUS_* flag |
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| † STATUS_DIE_AT_EDGE - If the object is rezzed by a script, the default is TRUE | |||||||||||||||||||||||||||||||||||||||||||||||||
Caveats
Status is an object attribute; all prims in an object share the same status.
Important Issues
~ Search JIRA for related Bugs| | | SVC-1773 | [c] | STATUS_BLOCK_GRAB only affects individual prims in a linkset |
Examples
default { touch_start(integer total_number) { if (llGetStatus(STATUS_PHYSICS)) { llSay(0, "This object is physical"); } else { llSay(0, "This object is not physical"); } } }
Deep Notes
Issues
~ Search JIRA for related Issues| | | SVC-1773 | [c] | STATUS_BLOCK_GRAB only affects individual prims in a linkset | |
| | | SVC-4197 | [c] | Create STATUS_TRANSLATE_* flags for llSetStatus |
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

