Difference between revisions of "LlGetStatus"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 7: | Line 7: | ||
|return_text=boolean equal to the '''status''' of the object. | |return_text=boolean equal to the '''status''' of the object. | ||
|spec | |spec | ||
|caveats | |caveats=Status is an object attribute; all prims in an object share the same status. | ||
|constants={{LSL Constants/Status}} | |constants={{LSL Constants/Status}} | ||
|examples=<pre> | |examples=<pre> |
Revision as of 01:10, 21 January 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llGetStatus( integer status );46 | Function ID |
0.0 | Forced 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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
† 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.
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"); } } }
See Also
Functions
• | llSetStatus | – | Sets the object status. |