User:Fred Rookstown/llRequestDatashare

From Second Life Wiki

Second Life Wiki > User:Fred Rookstown > User: Fred Rookstown/llRequestDatashare
Jump to: navigation, search

Template:Needs Translation/LSL/de Template:Needs Translation/LSL/es Template:Needs Translation/LSL/el Template:Needs Translation/LSL/fr Template:Needs Translation/LSL/he Template:Needs Translation/LSL/it Template:Needs Translation/LSL/ja Template:Needs Translation/LSL/ko Template:Needs Translation/LSL/nl Template:Needs Translation/LSL/hu Template:Needs Translation/LSL/no Template:Needs Translation/LSL/da Template:Needs Translation/LSL/sv Template:Needs Translation/LSL/tr Template:Needs Translation/LSL/pl Template:Needs Translation/LSL/pt Template:Needs Translation/LSL/ru Template:Needs Translation/LSL/uk Template:Needs Translation/LSL/zh-Hans Template:Needs Translation/LSL/zh-Hant

Image:Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Contents

Summary

Function: integer llRequestDatashare( key agent, string service_id, integer service_revision_req );
REQUEST Function ID
Delay
N/A Energy

Attempts to open a datashare channel on the specified agent for the specified service, if available.
Returns an integer datashare resource pointer

• key agent Key of target agent
• string service_id Name of service to connect to
• integer service_revision_req Ensures that the service is at least this version before allowing the datashare to open.

Examples

 
integer datashare; // Datashare pointer
default
{
    state_entry()
    {
        // Open a datashare with no service version check.
        datashare=llRequestDatashare(llGetOwner(),"Some Service",0);
    }
}
 

Deep Notes

In other languages