llLinksetDataReset
function
Function syntax
llLinksetDataReset();- Energy
- 10
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.
llLinksetDataReset();Caveats
Section titled “Caveats”llLinksetDataReset removes all keys. Even those that were created by llLinksetDataWriteProtected.
Examples
Section titled “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
Section titled “See also”Functions
Section titled “Functions”llLinksetDataAvailablellLinksetDataCountFoundllLinksetDataCountKeysllLinksetDataDeletellLinksetDataDeleteFoundllLinksetDataFindKeysllLinksetDataListKeysllLinksetDataReadllLinksetDataWrite
Events
Section titled “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.