LsClearWindlightScene

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Add script exemple)
m
Line 22: Line 22:
 
     {
 
     {
 
         llSay(PUBLIC_CHANNEL, "Touch to see lsClearWindlightScene usage.");
 
         llSay(PUBLIC_CHANNEL, "Touch to see lsClearWindlightScene usage.");
        llSetText("lsClearWindlightScene", <1.0, 1.0, 1.0>, 1.0);
 
 
     }
 
     }
  

Revision as of 01:58, 19 December 2020

Contents

lsClearWindlightScene

Function

void lsClearWindlightScene();

Remove Windlight settings from a region.

Caveats

LightShare must be enabled in the Simulator.

This script function is restricted to the region owner only.

Examples

//
// lsClearWindlightScene Script Exemple
// Author: djphil
//
 
default
{
    state_entry()
    {
        llSay(PUBLIC_CHANNEL, "Touch to see lsClearWindlightScene usage.");
    }
 
    touch_start(integer number)
    {
        lsClearWindlightScene();
        llSay(PUBLIC_CHANNEL, "The Windlight Scene is now cleared ...");
    }
}

See Also

Functions

Articles

Deep Notes

All Issues

Introduced

Personal tools
General
About This Wiki