Difference between revisions of "LlGetLinkSitFlags"
Jump to navigation
Jump to search
Rider Linden (talk | contribs) |
Rider Linden (talk | contribs) |
||
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function | ||
|func_id= | |func_id=|func_sleep=0.0|func_energy=10.0 | ||
|func=|return_type=integer | |func=llGetLinkSitFlags|return_type=integer | ||
|p1_type=integer|p1_name=link|p1_desc=The link ID | |p1_type=integer|p1_name=link|p1_desc=The link ID | ||
|func_desc=Returns the current flags on the link's sittarget. | |func_desc=Returns the current flags on the link's sittarget. |
Revision as of 16:57, 4 March 2024
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llGetLinkSitFlags( integer link );? | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns the current flags on the link's sittarget.
Returns an integer
• integer | link | – | The link ID |
Specification
Flag | Description | |
---|---|---|
SIT_FLAG_SIT_TARGET | 0x1 | Read-only flag to indicate whether the link has a sit target. Use llSitTarget, llLinkSitTarget, or PRIM_SIT_TARGET to disable or enable this flag. Use llGetLinkSitFlags, or llGetLinkPrimitiveParams with PRIM_SIT_FLAGS to read this flag. |
SIT_FLAG_ALLOW_UNSIT | 0x2 | Allow an avatar to manually unsit from a sit target. Only applies to agents who had been seated via an LSL script. See llSitOnLink. |
SIT_FLAG_SCRIPTED_ONLY | 0x4 | Only allow scripted sits on this sit target. |
SIT_FLAG_NO_COLLIDE | 0x10 | Disable the avatar's collision volume when they are seated on this sit target. |
SIT_FLAG_NO_DAMAGE | 0x20 | Do not distribute damage to agents sitting on this sit target. |
The return value is a set of flags describing the flags of this prim's sit targets.