Set Primitive Description

31 July 2019

  • C10 - added the selection optional parameter.

19 May 2015

  • Release 8.12
    • range is now an optional parameter and not required to locate the item.
    • the command has been renamed from setobjectdescription to setprimitivedescription.
setprimitivedescription (Commands)
TypeCorrade progressive command
Commandsetprimitivedescription
DescriptionThe setprimitivedescription command can be used to set the description of a primitive.
Permissionsinteract
Parametersgroup, password, item, description
Last ChangesRelease 8.12 - range is optional and the command has been renamed from setobjectdescription to setprimitivedescription.

The setprimitivedescription command can be used to set the description of a primitive.

Command Required Parameters Required Corrade Permissions Example
setprimitivedescription group, password, item, description interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // set the name of an object
            "command", "setprimitivedescription",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Chair",
            "range", 5,
            "description", wasURLEscape("Cool Chair")
        ]
    )
);
Optional Parameter Possible Value Description
range A range in meters. The spherical distance from Corrade in which to locate the item.

Notes