Skip to content
lsl.devlsl.devLSL Dev

LlLinksetDataReset

Looking for the current API? Open the llLinksetDataReset reference →

Wiki description

The llLinksetDataReset function erases all name:value pairs stored in the linkset's datastore. When this function is called the linkset_data event is triggered in all scripts running in the linkset with an action of LINKSETDATA_RESET.

Caveats

llLinksetDataReset removes all keys. Even those that were created by llLinksetDataWriteProtected.

Examples

The following code will delete all the keys in a object.
// Removes all the keys in linksetdata without a saving throw.
// Warning: This will delete in password protected keys and is irreversible.
// -- Madi Melodious --

default
{
    state_entry()
    {
       llLinksetDataReset();
    }
}

See also: functions

See also: events

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from LlLinksetDataReset, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.