Difference between revisions of "LlLinksetDataDelete"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 5: Line 5:
|func_desc=The '''llLinksetDataDelete''' function erases a '''key:value''' pair from the linkset's datastore.   
|func_desc=The '''llLinksetDataDelete''' function erases a '''key:value''' pair from 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 [[Template:LSL_Constants_Linkset_Data|LINKSETDATA_DELETE]] and the name parameter set to the '''key''' that was removed. The '''value''' parameter in the event is set to an empty string.  
When this function is called the [[linkset_data]] event is triggered in all scripts running in the linkset with an action of [[Template:LSL_Constants_Linkset_Data|LINKSETDATA_DELETE]] and the name parameter set to the {{LSLP|key}} that was removed. The '''value''' parameter in the event is set to an empty string.  
|func_footnote
|func_footnote
|p1_type=string|p1_name=key|p1_desc=The key of the linkset key:value pair to be deleted.
|p1_type=string|p1_name=key|p1_desc=The '''key''' of the linkset '''key:value''' pair to be deleted.
|spec
|spec
|caveats=If the '''LSLP|key''' does not exist, no event is triggered.
|caveats=If the {{LSLP|key}} does not exist, no event is triggered.
|helpers
|helpers
|also_functions=
|also_functions=

Revision as of 16:10, 13 October 2022

Summary

Function: llLinksetDataDelete( string key );

The llLinksetDataDelete function erases a key:value pair from 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_DELETE and the name parameter set to the key that was removed. The value parameter in the event is set to an empty string.

• string key The key of the linkset key:value pair to be deleted.

Caveats

If the key does not exist, no event is triggered.

All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function void llLinksetDataDelete( string key );