SitFlag
Constants in the SitFlag flag set. These are flags and can be combined with bitwise OR.
integer SIT_FLAG_ALLOW_UNSIT = 0x0002; // Sit flag indicating that a seated avatar is allowed to manually stand up (unsit) from a sit target.integer SIT_FLAG_NO_COLLIDE = 0x0010; // Sit flag that disables the avatar's collision volume/hitbox while seated on this sit target.integer SIT_FLAG_NO_DAMAGE = 0x0020; // Sit flag that prevents damage from being distributed or forwarded to agents sitting on this sit target.integer SIT_FLAG_SCRIPTED_ONLY = 0x0004; // Sit flag that restricts sits to script-controlled actions only, preventing avatars from manually sitting on this prim.integer SIT_FLAG_SIT_TARGET = 0x0001; // Read-only sit flag indicating whether the prim has an active sit target.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
SIT_FLAG_ALLOW_UNSIT | integer | 0x0002 | Sit flag indicating that a seated avatar is allowed to manually stand up (unsit) from a sit target. Applies only to agents who were seated via an LSL script like llSitOnLink. |
SIT_FLAG_NO_COLLIDE | integer | 0x0010 | Sit flag that disables the avatar's collision volume/hitbox while seated on this sit target. |
SIT_FLAG_NO_DAMAGE | integer | 0x0020 | Sit flag that prevents damage from being distributed or forwarded to agents sitting on this sit target. |
SIT_FLAG_SCRIPTED_ONLY | integer | 0x0004 | Sit flag that restricts sits to script-controlled actions only, preventing avatars from manually sitting on this prim. |
SIT_FLAG_SIT_TARGET | integer | 0x0001 | Read-only sit flag indicating whether the prim has an active sit target. Set or cleared using llSitTarget, llLinkSitTarget, or PRIM_SIT_TARGET, and read via llGetLinkSitFlags or PRIM_SIT_FLAGS. |
Used by
llSetLinkSitFlagsfunctionSets the sit target flags for the linked prim link inside the linkset.