OsSetParcelMediaURL
From OpenSimulator
(Difference between revisions)
m (some syntax modification (may be major or minor)) |
|||
Line 2: | Line 2: | ||
|threat_level=VeryLow | |threat_level=VeryLow | ||
|function_syntax=void osSetParcelMediaURL(string url) | |function_syntax=void osSetParcelMediaURL(string url) | ||
− | |ossl_example= | + | |ossl_example=<source lang = "lsl"> |
+ | // ---------------------------------------------------------------- | ||
+ | // Example / Sample Script to show function use. | ||
+ | // | ||
+ | // Script Title: osSetParcelMediaURL.lsl | ||
+ | // Script Author: | ||
+ | // Threat Level: VeryLow | ||
+ | // Script Source: SUPPLEMENTAL http://opensimulator.org/wiki/osSetParcelMediaURL | ||
+ | // | ||
+ | // Notes: See Script Source reference for more detailed information | ||
+ | // This sample is full opensource and available to use as you see fit and desire. | ||
+ | // Threat Levels only apply to OSSL & AA Functions | ||
+ | // See http://opensimulator.org/wiki/Threat_level | ||
+ | // ================================================================ | ||
+ | // 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); | ||
+ | } | ||
+ | } | ||
+ | </source> | ||
|description= | |description= | ||
| | | | ||
}} | }} |
Revision as of 10:34, 30 July 2011
void osSetParcelMediaURL(string url)
| |
No descriptions provided | |
Threat Level | VeryLow |
Permissions | No permissions specified |
Extra Delay | No function delay specified |
Example(s) | |
// ---------------------------------------------------------------- // Example / Sample Script to show function use. // // Script Title: osSetParcelMediaURL.lsl // Script Author: // Threat Level: VeryLow // Script Source: SUPPLEMENTAL http://opensimulator.org/wiki/osSetParcelMediaURL // // Notes: See Script Source reference for more detailed information // This sample is full opensource and available to use as you see fit and desire. // Threat Levels only apply to OSSL & AA Functions // See http://opensimulator.org/wiki/Threat_level // ================================================================ // 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); } } |