AgentListScope
Constants in the AgentListScope flag set. These are flags and can be combined with bitwise OR.
integer AGENT_LIST_PARCEL = 0x0001; // Agents on the same parcel where the script is running.integer AGENT_LIST_PARCEL_OWNER = 0x0002; // Agents on any parcel in the region where the parcel owner is the same as the owner of the parcel under the scripted object.integer AGENT_LIST_REGION = 0x0004; // Returns any or all agents in the region.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
AGENT_LIST_PARCEL | integer | 1 | Agents on the same parcel where the script is running. |
AGENT_LIST_PARCEL_OWNER | integer | 2 | Agents on any parcel in the region where the parcel owner is the same as the owner of the parcel under the scripted object. |
AGENT_LIST_REGION | integer | 4 | Returns any or all agents in the region. |
Used by
llGetAgentListfunctionRequests a list of avatar UUID keys for agents currently in the region, limited by scope. Returns a list of keys or a list containing an error message string.