Skip to content
lsl.devlsl.devLSL Dev

LlSetLinkSitFlags

Looking for the current API? Open the llSetLinkSitFlags reference →

Wiki description

Sets flags on the link's sittarget.

Specification

Sets the sit flags for the sit target in the link. Sit flags only apply when a sit target is present in the link.
Flag Description
SIT_FLAG_SIT_TARGETRead-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_UNSITAllow 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_ONLYOnly allow scripted sits on this sit target.
SIT_FLAG_NO_COLLIDEDisable the avatar's collision volume when they are seated on this sit target.
SIT_FLAG_NO_DAMAGEDo not distribute damage to agents sitting on this sit target.

Caveats

  • SIT_FLAG_NO_COLLIDE is applied at the time of sitting. Updating this flag will not change the collision behavior of an agent that was previously seated on the sit target.

Shared wiki helpers

The original page also injects shared parameter notes, caveats or issue information through these helpers. Their conditional MediaWiki logic is not reproduced here; inspect the preserved helper source for additional material.

Template:LSL Function/link-face

Original shared helper source (conditional wiki logic is not evaluated)
{{LSL Injection Test}}{{#if:{{{1|}}}|{{LSL Function/link|{{{1}}}|nogroup={{{nogroup|}}}}}}}{{#if:{{{2|}}}|{{LSL_Function/face|{{{2}}}}}}}{{#if:

{{#vardefine:also_functions|{{#var:also_functions}}
{{LSL DefineRow||[[llGetLinkNumberOfSides]]|Returns the number of faces of the linked prim.}}}}

}}
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.