Difference between revisions of "LlLinksetDataWrite"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "{{LSL_Function |func_sleep=0.0|func_energy=10.0 |func=llLinksetDataWrite |p1_type=string|p1_name=name|p1_desc=The name of the link set data key to be updated or created. |p2_t...")
 
Line 7: Line 7:
|func_desc=The llLinksetDataWrite function creates or updates a key in the link set datastore, assigning it the string specified in the value parameter. If the value parameter is an empty string, the key is deleted.  
|func_desc=The llLinksetDataWrite function creates or updates a key in the link set datastore, assigning it the string specified in the value parameter. If the value parameter is an empty string, the key is deleted.  


When this function is called the [[linkset_data]] event is triggered in all scripts running in the link set with an action of [[LINKSETDATA_UPDATE]], or [[LINKSETDATA_DELETE]] if the key value pair is deleted.
When this function is called the [[linkset_data]] event is triggered in all scripts running in the link set with an action of [[Template:LSL_Constants_Linkset_Data|LINKSETDATA_UPDATE]], or [[Template:LSL_Constants_Linkset_Data|LINKSETDATA_DELETE]] if the key value pair is deleted.
|func_footnote
|func_footnote
|spec
|spec

Revision as of 12:39, 13 October 2022

Summary

Function: llLinksetDataWrite( string name, string value );
0.0 Forced Delay
10.0 Energy

The llLinksetDataWrite function creates or updates a key in the link set datastore, assigning it the string specified in the value parameter. If the value parameter is an empty string, the key is deleted.

When this function is called the linkset_data event is triggered in all scripts running in the link set with an action of LINKSETDATA_UPDATE, or LINKSETDATA_DELETE if the key value pair is deleted.

• string name The name of the link set data key to be updated or created.
• string value The value to assign to the named key

Examples

Deep Notes

Signature

function void llLinksetDataWrite( string name, string value );