Return Primitives

7 June 2015

  • Release 8.22 - added the optional region parameter.
returnprimitives (Commands)
TypeCorrade progressive command
Commandreturnprimitives
DescriptionThe returnprimitives can return the primitives of an avatar on a parcel, an entire region or an entire estate depending on the entity parameter and the position sub-parameter.
Permissionsland
Parametersgroup, password, firstname, lastname (or agent by UUID), entity, type
Last ChangesRelease 8.22 - added the optional region parameter.

The returnprimitives can return the primitives of an avatar on a parcel, an entire region or an entire estate depending on the entity parameter and the position sub-parameter.

Command Required Parameters Required Corrade Permissions Required Group Abilities Example
returnprimitives group, password, firstname, lastname (or agent by UUID), entity, type land When Corrade is not an estate manager:
* For returning other primitives: Parcel Content->Return non-group objects
* For returning group objects: Parcel Content->Return objects set to group
* For returning objects owned by group: Parcel Content->Return objects owned by group
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // return Jolly Roger's primitives
            // on the current region
            "command", "returnprimitives",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Jolly",
            "lastname", "Roger",
            "entity", "parcel",
            "type", "other",
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Value Sub-Parameter Sub-Parameter Value Optional Sub-Parameter Possible Values Description
entity parcel type Owner position vector A vector within the bounds of a parcel that Corrade should return the primitives from. If no position parameter is supplied, Corrade returns the primitives from the entire region.
Group
Other
Sell
estate ReturnScripted all true If all is set to true, then Corrade returns the objects from all the estates. If all is not supplied (or supplied as false), Corrade returns the objects only from the current estate.
ReturnOnOthersLand false
ReturnScriptedAndOnOthers
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.

secondlife/scripted_agents/corrade/api/progressive/commands/returnprimitives.txt ยท Last modified: 2017/02/22 18:28 (external edit)

Access website using Tor


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