OsGetAvatarList
From OpenSimulator
(Difference between revisions)
m (Added permissions and delay information) |
m (Added note stating which version of OpenSim introduced this function) |
||
Line 3: | Line 3: | ||
|permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | |permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
|delay=0 | |delay=0 | ||
+ | |additional_info=This function was added in 0.7 | ||
|function_syntax=list osGetAvatarList() | |function_syntax=list osGetAvatarList() | ||
|csharp_syntax=LSL_List osGetAvatarList() | |csharp_syntax=LSL_List osGetAvatarList() |
Revision as of 07:01, 15 October 2018
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 | ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
Extra Delay | 0 seconds |
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)); } } | |
Notes | |
This function was added in 0.7 |