diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-08-15 09:56:45 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-08-15 09:56:45 -0400 |
commit | e8388d1d9b3055a68a97551f2718380fcaee320b (patch) | |
tree | 2b28407f4847327c72c587ff4d8b1f1560126804 /indra/newview/scripts/lua/require/LLAgent.lua | |
parent | b3fb23ee0c6d33f5eba3502328ffb0011b5f25fb (diff) | |
parent | 8324ef8edf68c074f4d30322d37b091b3ea10539 (diff) |
Merge branch 'release/luau-scripting' into viewer-lua-2237
Diffstat (limited to 'indra/newview/scripts/lua/require/LLAgent.lua')
-rw-r--r-- | indra/newview/scripts/lua/require/LLAgent.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/scripts/lua/require/LLAgent.lua b/indra/newview/scripts/lua/require/LLAgent.lua index bc9a6b23a0..5ee092f2f6 100644 --- a/indra/newview/scripts/lua/require/LLAgent.lua +++ b/indra/newview/scripts/lua/require/LLAgent.lua @@ -11,6 +11,17 @@ function LLAgent.getGlobalPosition() return leap.request('LLAgent', {op = 'getPosition'}).global end +-- Return array information about the agent's groups +-- id: group id\n" +-- name: group name\n" +-- insignia: group insignia texture id +-- notices: bool indicating if this user accepts notices from this group +-- display: bool indicating if this group is listed in the user's profile +-- contrib: user's land contribution to this group +function LLAgent.getGroups() + return leap.request('LLAgent', {op = 'getGroups'}).groups +end + -- Use LL.leaphelp('LLAgent') and see 'setCameraParams' to get more info about params -- -- TYPE -- DEFAULT -- RANGE -- LLAgent.setCamera{ [, camera_pos] -- vector3 |