llGetAgentList
function ll.GetAgentList(Scope: number, Options: {any}): {any}Requests a list of agents currently in the region, limited by the scope parameter.
Returns a list [key UUID-0, key UUID-1, ..., key UUID-n] or [string error_msg] - returns avatar keys for all agents in the region limited to the area(s) specified by scope
Parameters
-
Scope(number) - The scope (region, parcel, parcel same owner) to return agents for.
-
Options({any}) - List of options to apply. Current unused.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GetAgentList().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetAgentList