Difference between revisions of "Template:LSL Constants/SitFlags"
Jump to navigation
Jump to search
(Add notes about limitations of SIT_FLAG_ALLOW_UNSIT and SIT_FLAG_SIT_TARGET) |
Rider Linden (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
! class="unsortable" {{!}} Description | ! class="unsortable" {{!}} Description | ||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|SIT_FLAG_SIT_TARGET|integer|1|ihex=1|c=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.}} | {{!}}{{LSL Const|SIT_FLAG_SIT_TARGET|integer|1|ihex=1|c=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.}} | ||
{{!}}{{#var:hvalue}} | {{!}}{{#var:hvalue}} | ||
{{!}}{{#var:comment}} | {{!}}{{#var:comment}} | ||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|SIT_FLAG_ALLOW_UNSIT|integer|2|ihex=2|c=Allow an avatar to manually unsit from a sit target. Only applies to agents who had been seated via an LSL script.}} | {{!}}{{LSL Const|SIT_FLAG_ALLOW_UNSIT|integer|2|ihex=2|c=Allow an avatar to manually unsit from a sit target. Only applies to agents who had been seated via an LSL script. See [[llSitOnLink]].}} | ||
{{!}}{{#var:hvalue}} | {{!}}{{#var:hvalue}} | ||
{{!}}{{#var:comment}} | {{!}}{{#var:comment}} | ||
Line 19: | Line 19: | ||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|SIT_FLAG_NO_COLLIDE|integer|16|ihex=16|c=Disable the avatar's collision volume when they are seated on this sit target.}} | {{!}}{{LSL Const|SIT_FLAG_NO_COLLIDE|integer|16|ihex=16|c=Disable the avatar's collision volume when they are seated on this sit target.}} | ||
{{!}}{{#var:hvalue}} | |||
{{!}}{{#var:comment}} | |||
{{!}}- | |||
{{!}}{{LSL Const|SIT_FLAG_NO_DAMAGE|integer|32|ihex=32|c=Do not distribute damage to agents sitting on this sit target.}} | |||
{{!}}{{#var:hvalue}} | {{!}}{{#var:hvalue}} | ||
{{!}}{{#var:comment}} | {{!}}{{#var:comment}} | ||
{{!}}} | {{!}}} | ||
</div></div> | </div></div> |
Latest revision as of 09:52, 1 May 2024
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. |