LlLinksetDataDelete: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Leviathan Linden (talk | contribs)
Make the function name bold. "link set" --> "linkset"
Leviathan Linden (talk | contribs)
mNo edit summary
Line 3: Line 3:
|func=llLinksetDataDelete
|func=llLinksetDataDelete
|func_footnote
|func_footnote
|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 name of 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 name of the '''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=name|p1_desc=The name of the linkset data key to be deleted.
|p1_type=string|p1_name=name|p1_desc=The name of the linkset data key to be deleted.

Revision as of 15:40, 13 October 2022

Summary

Function: llLinksetDataDelete( string name );
0.0 Forced Delay
10.0 Energy

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 name of the key that was removed. The value parameter in the event is set to an empty string.

• string name The name of the linkset data key to be deleted.

Caveats

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

Examples

Deep Notes

Signature

function void llLinksetDataDelete( string name );