OsGetAvatarList
From OpenSimulator
(Difference between revisions)
m (some format conversions) |
|||
Line 1: | Line 1: | ||
− | {{osslfunc| | + | {{osslfunc |
− | threat_level = None | + | |threat_level=None |
− | | | + | |function_syntax=LSL: list osGetAvatarList() |
− | function_syntax = | + | |
− | LSL: list osGetAvatarList() | + | |
C#: LSL_List osGetAvatarList() | C#: LSL_List osGetAvatarList() | ||
− | + | |ossl_example=<source lang="lsl"> | |
− | | | + | |
− | ossl_example = <source lang="lsl"> | + | |
// | // | ||
// Example of osGetAvatarList. | // Example of osGetAvatarList. | ||
Line 23: | Line 20: | ||
} | } | ||
</source> | </source> | ||
− | | | + | |description=Returns a strided list of the UUID, position, and name of each avatar in the region except the owner. |
− | + | ||
This function is similar to [[osGetAgents]] but returns enough info for a radar. | This function is similar to [[osGetAgents]] but returns enough info for a radar. | ||
| | | | ||
}} | }} |
Revision as of 20:32, 1 July 2011
LSL: list osGetAvatarList()
C#: LSL_List osGetAvatarList() | |
Returns a strided list of the UUID, position, and name of each avatar in the region except the owner.
This function is similar to osGetAgents but returns enough info for a radar. | |
Threat Level | None |
Permissions | No permissions specified |
Extra Delay | No function delay specified |
Example(s) | |
// // Example of osGetAvatarList. // default { touch_start(integer total_number) { list avatars = osGetAvatarList(); if (avatars == []) llSay(0, "You must be the owner. There is nobody else here who could have touched me."); else llSay(0, "Avatars in this sim (without the owner): " + llList2CSV(avatars)); } } |