You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
This shows you the differences between two versions of the page.
functions:llavataronsittarget [2015-01-19 15:01 SLT] sei created |
functions:llavataronsittarget [2015-09-22 11:42 SLT] (current) sei Style |
||
---|---|---|---|
Line 6: | Line 6: | ||
</code> | </code> | ||
- | Get the key of the avatar occupying the sit target of the current prim, or [[constants/NULL_KEY]] if none. | + | Get the key of the avatar occupying the sit target of the current prim, or $lct[NULL_KEY] if none. |
===== Return value ===== | ===== Return value ===== | ||
- | The key of the avatar occupying the sit target of the prim the script is in, or [[constants/NULL_KEY]] if none. | + | The key of the avatar occupying the sit target of the prim the script is in, or $lct[NULL_KEY] if none. |
===== Notes ===== | ===== Notes ===== | ||
- | * This function will also return **NULL_KEY** if there is no sit target set for the given link, even if there is someone sitting in the prim. | + | * This function will also return $ct[NULL_KEY] if there is no sit target set for the given link, even if there is someone sitting in the prim. |
===== Short examples ===== | ===== Short examples ===== | ||
Line 53: | Line 53: | ||
===== See also ===== | ===== See also ===== | ||
- | * [[llAvatarOnLinkSitTarget]] is the same for a specific prim in a linkset. | + | * $lfn[llAvatarOnLinkSitTarget] is the same for a specific prim in a linkset. |
- | * [[llSitTarget]] sets (or clears, if the vector is ZERO_VECTOR) the sit target of the current prim. | + | * $lfn[llSitTarget] sets (or clears, if the vector is ZERO_VECTOR) the sit target of the current prim. |
- | * [[llLinkSitTarget]] sets (or clears, if the vector is ZERO_VECTOR) the sit target for any prim in the linkset. | + | * $lfn[llLinkSitTarget] sets (or clears, if the vector is ZERO_VECTOR) the sit target for any prim in the linkset. |
- | * [[llSetSitText]] sets the text that appears in the menu when someone right clicks. | + | * $lfn[llUnSit] unsits the given agent. |
- | * [[llUnSit]] unsits the given agent. | + | * $lfn[llGetNumberOfPrims] gets the number of prims + sitting avatars in an object. |