Set Object Group

19 May 2015

  • Release 8.12 - range is now an optional parameter and not required to locate the item.
setobjectgroup (Commands)
TypeCorrade progressive command
Commandsetobjectgroup
DescriptionThe setobjectgroup command can be used to set the group of an object.
Permissionsinteract
Parametersgroup, password, item
Last ChangesRelease 8.12 - range is now an optional parameter and not required to locate the item.

The setobjectgroup command can be used to set the group of an object.

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

Notes