Reset Scripts in Primitives

8 April 2017

  • Release 9.161 - added.
scriptreset (Commands)
TypeCorrade progressive command
Commandscriptreset
DescriptionThe scriptreset command can be used to reset a specific or all scripts inside a primitive.
Permissionsinventory
Parametersgroup, password, item
Last ChangesRelease 9.161 - added.

The scriptreset command can be used to reset a specific or all scripts inside a primitive.

Command Required Parameters Required Corrade Permissions Example
scriptreset group, password, item interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // resets the script called
            // "sit" in a "Chair" object
            "command", "scriptreset",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape("Chair"),
            "range", 5,
            "entity", wasURLEscape("sit"),
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Value Second Parameter Possible Value Third Parameter Possible Value Description
all False (default) item The name or UUID of a primitive. entity The name or UUID of a script inside a primitive. Reset a single script indicated by entity inside a primitive indicated by item
True Resets all the scripts in the primitive indicated by item.
Optional Parameter Possible Value Description
range A range in meters. The spherical distance from Corrade in which to locate the item.

secondlife/scripted_agents/corrade/api/progressive/commands/scriptreset.txt ยท Last modified: 2017/04/08 11:36 by Wizardry and Steamworks

Access website using Tor


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