31 July 2019

19 May 2015

The setobjectposition command can be used to set the position of an object (in a regional frame).

CommandRequired ParametersRequired Corrade PermissionsExample
setobjectpositiongroup, password, item, positioninteract
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // set the position of the
            // object Chair, 5m above the
            // current object
            "command", "setobjectposition",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Chair",
            "range", 5,
            "position", llGetPos() + <0, 0, 5>
        ]
    )
);
Optional ParameterPossible ValueDescription
rangeA range in meters.The spherical distance from Corrade in which to locate the item.

Notes