OsSetParcelMediaURL

De DigiWiki.

// Example / Sample Script to show function use.
//
// Script Title:    osSetParcelMediaURL.lsl
// Script Author:
// Threat Level:    VeryLow
//
// Notes: This sample is full opensource and available to use as you see fit and desire.
// Threat Levels only apply to OSSL & AA Functions
// ================================================================
// C# Source Line:      public void osSetParcelMediaURL(string url)
// Inworld Script Line: osSetParcelMediaURL(string url);
//
// Example of osSetParcelMediaURL
//
string sURL = "http://www.archive.org/download/CncdVsFairlightCeasefire/ceasefire_all_fall_down.stream.mp4"; //The URL we are setting to the parcel.
//
default
{
    state_entry()
    {
        llSay(0, "Touch to see how osSetParcelMediaURL works");
    }
    touch_start(integer num)
    {
        llSay(0,"Media URL being set to :"+sURL);
        osSetParcelMediaURL( sURL);
    }
}
Outils personnels
  • Cette page a été consultée 569 fois.
donate
Google Ads