Configure sit targets and inspect seated avatars.
What do you want to do?
llSitTarget(vector offset, rotation rot)Sets the sit target position (offset) and rotation (rot) relative to the prim's position and orientation. Clears the sit target if offset is ZERO_VECTOR.llLinkSitTarget(integer link, vector offset, rotation rot)Sets the sit target position (offset) and orientation (rot) for the linked prim link, relative to the prim's own position and rotation. Clear by setting offset to <0.0, 0.0, 0.0>.key llAvatarOnSitTarget()Returns the UUID of the avatar seated on the prim's sit target (defined via llSitTarget), or NULL_KEY if no avatar is sitting there or the prim lacks a sit target.Reference
11 topic entries
Badges
Kind
key llAvatarOnLinkSitTarget(integer link)Returns the UUID of the avatar seated on the specified link's sit target, orNULL_KEYif no avatar is sitting there.functionkey llAvatarOnSitTarget()Returns the UUID of the avatar seated on the prim's sit target (defined viallSitTarget), orNULL_KEYif no avatar is sitting there or the prim lacks a sit target.functioninteger llGetLinkSitFlags(integer link)Returns an integer representing the active sit flags currently set on the linked prim specified by link.functionllLinkSitTarget(integer link, vector offset, rotation rot)Sets the sit target position (offset) and orientation (rot) for the linked prim link, relative to the prim's own position and rotation. Clear by setting offset to <0.0, 0.0, 0.0>.functionllSetLinkCamera(integer link, vector eye, vector at)Sets the camera eye position offset eye and looking-at position offset at for avatars who sit on the linked prim link.functionllSetLinkSitFlags(integer link, integer flags)Sets the sit target flags for the linked prim link inside the linkset.functionllSetSitText(string text)Displays the string text instead of 'Sit' (or 'Sit Here') in the viewer's right-click context menu.functioninteger llSitOnLink(key agent_id, integer link)Forces the avatar specified by agent_id (who must be participating in the experience) to sit on the sit target of the prim indicated by link. If occupied, searches down the linkset for an available sit target. Returns an integer.functionX (Requires an experience)llSitTarget(vector offset, rotation rot)Sets the sit target position (offset) and rotation (rot) relative to the prim's position and orientation. Clears the sit target if offset isZERO_VECTOR.functionllUnSit(key id)Forces the agent specified by id to stand up if they are sitting on the object containing the script, or are currently over land owned by the object's owner.functionchanged(integer changes)Triggered when various properties of the object change. The parameter changes is a bitfield of CHANGED_* flags.event
No matching entries. Try a different term or filter.