Difference between revisions of "PRIM ALLOW UNSIT"

From Second Life Wiki
Jump to navigation Jump to search
(Add page to experience categories.)
Line 22: Line 22:
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}
{{LSL DefineRow||[[llGetLinkPrimitiveParams]]|}}
{{LSL DefineRow||[[llGetLinkPrimitiveParams]]|}}
 
|cat1=Experience
|cat2=Permissions/Experience
}}
}}
[[Category:Experience Tools]]

Revision as of 03:02, 19 October 2023

Description

Constant: integer PRIM_ALLOW_UNSIT = 39;

The integer constant PRIM_ALLOW_UNSIT has the value 39

When set on a prim that is running a script as part of an experience an avatar that is seated on the sit target and has agreed to participate in the experience will be unable to stand or select another prim to sit on. The restriction remains in place until one of the following conditions is met:

  • PRIM_ALLOW_UNSIT is changed to TRUE
  • llUnSit( ) is called forcing the avatar to stand.
  • llSitOnLink( ) is called moving this avatar to a new sit target.
  • The avatar teleports or is teleported by the experience.
  • The agent signs off.
  • The agent disables the experience.
  • The prim the avatar is seated on is destroyed.
  • The agent is unseated for any reason.

This flag has no effect if encountered outside a valid experience.

If the linkset moves to a region that has not enabled the experience this value will be ignored and standing will behave as normal, without restriction. If the linkset moves to a parcel that the avatar does not have access to, the avatar will be forced to stand and the unsit restriction will be removed.

Caveats


Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_ALLOW_UNSIT = 39;