LsClearWindlightScene

From OpenSimulator

Revision as of 01:55, 5 March 2024 by Manni (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
{
    // Event handler triggered when the script is initialized
    state_entry()
    {
        // Send a message to public channel informing users to touch to see usage
        llSay(PUBLIC_CHANNEL, "Touch to see lsClearWindlightScene usage.");
    }
 
    // Event handler triggered when the object is touched
    touch_start(integer number)
    {
        // Call lsClearWindlightScene function to remove Windlight settings
        lsClearWindlightScene();
 
        // Send a message to public channel confirming the Windlight scene is cleared
        llSay(PUBLIC_CHANNEL, "The Windlight Scene is now cleared ...");
    }
}

See Also

Functions

Articles

Deep Notes

All Issues

Introduced

Personal tools
General
About This Wiki