Set Primitive Flexible Data

31 July 2019

  • C10 - added the selection optional parameter.

20 August 2015

  • Release 8.44 - added.
setprimitiveflexibledata (Commands)
TypeCorrade progressive command
Commandsetprimitiveflexibledata
DescriptionThe setprimitiveflexibledata command can be used to retrieve the set flexible data for a primitive.
Permissionsinteract
Parametersgroup, password, item, data
Last ChangesRelease 8.44 - added.

The setprimitiveflexibledata command can be used to retrieve the set flexible data for a primitive.

Command Required Parameters Required Corrade Permissions Example
setprimitiveflexibledata group, password, item, data interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // set the gravity and wind of a primitive
            // by UUID in a 4 meters range
            "command", "setprimitiveflexibledata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "4ad413bc-881f-4bd4-9d07-e9fb617cbf3b",
            "range", 4,
            "data", wasURLEscape(
                wasListToCSV(
                    [
                        "Gravity",
                        9.81,
                        "Wind",
                        5
                    ]
                )
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameters Possible Value Description
range A number representing meters. The spherical radius from Corrade to search the primitive in.
selection attached, rezzed or all (default: all) Either attached, rezzed or all for selecting only primitives or objects attached to avatars, primitives or objects rezzed in-world or all primitives or objects respectively.

The command sets members passed to the data key from the FlexibleData structure.


secondlife/scripted_agents/corrade/api/commands/setprimitiveflexibledata.txt ยท Last modified: 2020/09/04 06:44 (external edit)

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy, copyright and the plagiarism pages.