Configure sit targets and inspect seated avatars.
Feature: 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
key llAvatarOnLinkSitTarget(integer link)functionReturns the UUID of the avatar seated on the specified link's sit target, or
NULL_KEYif no avatar is sitting there.key llAvatarOnSitTarget()functionReturns the UUID of the avatar seated on the prim's sit target (defined via
llSitTarget), orNULL_KEYif no avatar is sitting there or the prim lacks a sit target.integer llGetLinkSitFlags(integer link)functionReturns an integer representing the active sit flags currently set on the linked prim specified by link.
llLinkSitTarget(integer link, vector offset, rotation rot)functionSets 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>.
llSetLinkCamera(integer link, vector eye, vector at)functionSets the camera eye position offset eye and looking-at position offset at for avatars who sit on the linked prim link.
llSetLinkSitFlags(integer link, integer flags)functionSets the sit target flags for the linked prim link inside the linkset.
llSetSitText(string text)functionDisplays the string text instead of 'Sit' (or 'Sit Here') in the viewer's right-click context menu.
integer llSitOnLink(key agent_id, integer link)functionForces 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.
llSitTarget(vector offset, rotation rot)functionSets 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.llUnSit(key id)functionForces 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.
changed(integer changes)eventTriggered when various properties of the object change. The parameter changes is a bitfield of CHANGED_* flags.
No matching entries. Try a different term or filter.