Difference between revisions of "PRIM SCRIPTED SIT ONLY"
Jump to navigation
Jump to search
m (Jeremy Linden moved page PRIM SCRIPTED SITS ONLY to PRIM SCRIPTED SIT ONLY) |
|||
Line 1: | Line 1: | ||
{{LSL Constant | {{LSL Constant | ||
|name= | |name=PRIM_SCRIPTED_SIT_ONLY | ||
|type=integer | |type=integer | ||
|value= 40 | |value= 40 | ||
|desc= Agents may only be seated on this prim using [[llSitOnLink]]. Attempts to do a manual sit will fail. This flag applies even outside of an experience enabled region. | |desc= Agents may only be seated on this prim using [[llSitOnLink]]. Attempts to do a manual sit will fail. This flag applies even outside of an experience enabled region. | ||
If any prim in a linkset has PRIM_SCRIPTED_SIT_ONLY set and no other prim in the linkset has a sit target then an avatar cannot manually sit on the object. | |||
If some other prim in the linkset does have a sit target (that is not filled or marked PRIM_SCRIPTED_SIT_ONLY), the agent can sit on that prim. | |||
|functions= | |functions= | ||
{{LSL DefineRow||[[llSetPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetPrimitiveParams]]|}} |
Latest revision as of 11:12, 4 October 2016
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_SCRIPTED_SIT_ONLY = 40;The integer constant PRIM_SCRIPTED_SIT_ONLY has the value 40
Agents may only be seated on this prim using llSitOnLink. Attempts to do a manual sit will fail. This flag applies even outside of an experience enabled region.
If any prim in a linkset has PRIM_SCRIPTED_SIT_ONLY set and no other prim in the linkset has a sit target then an avatar cannot manually sit on the object.
If some other prim in the linkset does have a sit target (that is not filled or marked PRIM_SCRIPTED_SIT_ONLY), the agent can sit on that prim.
Caveats