Set Object Group

19 May 2015

  • Release 8.12 - range is now an optional parameter and not required to locate the item.

<data Commands> Type: Corrade progressive command Command[wiki]: setobjectgroup Description[wiki]: The setobjectgroup command can be used to set the group of an object. Permissions[wiki]: interact Parameters[wiki]: group, password, item Last Changes[wiki]: Release 8.12 - range is now an optional parameter and not required to locate the item. </data>

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