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:llsamegroup [2015-02-04 13:40 SLT] sei Style, and add important note on rez by prim |
functions:llsamegroup [2015-02-04 14:15 SLT] (current) sei or -> or if |
||
---|---|---|---|
Line 14: | Line 14: | ||
===== Result ===== | ===== Result ===== | ||
- | Returns $lct[TRUE] if the user defined by $prm[id] has the same group active that the prim with this script is assigned to, or deeded to, or if the object of key id is assigned to the same group. | + | Returns $lct[TRUE] if the user or object referenced by $prm[id] is in the region and has the same group active as the prim with this script (including the group it's deeded to if deeded). |
- | Returns $lct[FALSE] if the user or object is not currently in the same region, or if the assigned group differs. | + | Returns $lct[FALSE] if the assigned group differs, or if the user or object is not currently in the same region. |
===== Notes ===== | ===== Notes ===== | ||
Line 62: | Line 62: | ||
===== See also ===== | ===== See also ===== | ||
- | * $fn[llDetectedGroup] is a shortcut that can be used inside $lev[detection/] events. | + | * $fn[llDetectedGroup] is a shortcut that can be used inside $lev[detection/|detection] events. |
* $fn[llGetObjectDetails] with $lct[OBJECT_GROUP] can retrieve an object's group (not an avatar's though). | * $fn[llGetObjectDetails] with $lct[OBJECT_GROUP] can retrieve an object's group (not an avatar's though). |