Get Avatar Positions

7 June 2015

  • Release 8.22 - added the optional region parameter.
getavatarpositions (Commands)
TypeCorrade progressive command
Commandgetavatarpositions
DescriptionThe getavatarpositions returns a CSV list of avatar names by UUIDs by positions within the current region that the bot is on.
Permissionsinteract
Parametersgroup, password, entity
Last ChangesRelease 8.22 - added the optional region parameter.

The getavatarpositions returns a CSV list of avatar names by UUIDs by positions within the current region that the bot is on.

Command Required Parameters Required Corrade Permissions Example
getavatarpositions group, password, entity interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // returns the avatar positions
            // in the current region
            "command", "getavatarpositions",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "entity", "region",
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Value Sub-Parameter Sub-Parameter Value Description
entity region Gets the avatar positions in the current region.
parcel position A positional vector within the parcel to examine. Gets the avatar positions in the current parcel.
Optional Parameter Possible Values Description
region A string representing a region name. Attempt to perform the command on the specified region. Note that Corrade must be connected to that region. If in doubt, please use the getconnectedregions command to determine whether the region you want to specify is currently connected.

Notes

  • The positions returned by this command are coarse positions and not exact - the z component will be capped at about $1024m$
  • If exact positions are required then the following options might work given the usage case:

secondlife/scripted_agents/corrade/api/commands/getavatarpositions.txt ยท Last modified: 2023/09/27 10:10 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.