Reset Scripts in Primitives

31 July 2019

  • C10 - added the selection optional parameter.

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.

Notes


secondlife/scripted_agents/corrade/api/commands/scriptreset.txt ยท Last modified: 2022/11/24 07:46 by 127.0.0.1

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


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