Rez

1 June 2019

  • C10 - Allow setting the primitive scale.

10 January 2019

  • C10 - The command now returns the newly rezzed primitive UUID as an argument to the data return parameter.

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.

7 June 2015

  • Release 8.22 - added the optional region parameter.
rez (Commands)
TypeCorrade progressive command
Commandrez
DescriptionThe rez command can be used to rez objects from Corrade's inventory.
Permissionsinventory
Parametersgroup, password, position, item
Last ChangesC10 - Allow setting the primitive scale.

The rez command can be used to rez objects from Corrade's inventory.

Command Required Parameters Required Corrade Permissions Required Group Abilities Example
rez group, password, position, item inventory When Corrade is not an estate manger and the parcel does not have rez permissions: Parcel Powers→Always allow 'Create Objects'
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // rez Chair from inventory at
            // postion <96.778328, 176.192261, 32.832947>
            // with no rotation
            "command", "rez",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "position", <96.778328, 176.192261, 32.832947>,
            "item", wasURLEscape("/My Inventory/Objects/Chair"),
            "callback", wasURLEscape(URL)
        ]
    )
);

The command returns the root UUID of the rezzed object as part of the data return parameter.

Optional Parameter Possible Value Description
rotation An rotation expressed in quaternions (in LSL notation <x, y, z, s>). Rez the object with the specified rotation.
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.
Optional Parameter Possible Value Second Parameter Possible Value Description
scale A vector representing the scale of the object or primitive uniform True or False Scale a rezzed object or primitive when rezzing.