Items
Merchants/Stores
This Store

Switch Light ON / OFF Script (free) - Full Perms Version 3.4

Details Features Contents 25 Reviews

Details

█ Luna Fatale Creations Cycle Light Bulb Script - User Instructions █

Luna Fatale Creations offers this free full-perm script as an example and teaching aid. It is fully functional and fun to use.

Luna Fatale creates fine furnishings, art and art & photo accessories that we would like to have in our own home. If we can't find something or we don't love what we do find, we build it ourselves & offer a quality, fully featured product at a fair price.

Shop our marketplace storefront and in-world stores:
https://marketplace.secondlife.com/stores/122680

=======================================
■ QUICK START INSTRUCTIONS

● Installation
▶ Using the Edit Tool go to the Contents Tab and drag the script into the Contents.

● Operation
▶ Just touch the light source briefly to toggle the light ON and OFF.

=======================================
■ FULL INSTRUCTIONS

● Installation

▶ Using the Edit Tool go to the Contents Tab and drag the script into the Contents.

▶ ★Optional: Open or double-click the script in the Contents and Customize the following values:
▷ DEFAULT_INTENSITY: The intensity of light is a measurement of how strong in absolute terms the light is.
▷ DEFAULT_RADIUS: Radius is the distance that light will travel from the center of the object before it blends into and becomes indistinguishable from the scene's natural ambient lighting.
▷ DEFAULT_FALLOFF: Falloff is the extent to which light "decays" as it travels away from the object.
▷ DEFAULT_GLOW: Glow sets the glow effect of the light source (e.g. bulb, candle).
▷ DEFAULT_FULLBRIGHT: Sets the Full Bright attribute of the light source.
▷ DEFAULT_COLOR: Sets the Color of the light and the face specified in the object's Description (see below). Values represent the Red, Green, Blue components of the light in values from zero (0) to 255.
▷ CLICK_SOUND: A sound in the inventory of the prim this script is in or a UUID of a sound.
▷ CLICK_VOLUME: A value between 0.0 (silent) and 1.0 (loud).

▶ ★Optional: Using the Edit Tool go to the General Tab (of your light source prim) and type the numeric value of the object's light source face into the Description.
○ Obtaining the face number
➀ In the Edit Tool, press the Select Face radio button
➁ Select the face that represents the light source
➂ Press the key-chord (press them all together): SHIFT + CTRL + ALT + T
➃ Read the numerical value in the NOTIFICATIONS popup of your viewer
○ To specify All Faces use a negative one (-1) as the value
✔ Note: The "face" value specified is used for Full Bright, Glow and Color (the "light" emanates from the prim's geometric center).
✔ Note: The default face value is 0. The default is used if none was specified or if the value specified was not a readable integer.
✔ Note: If you've set an alpha value on your bulb face, it will be retained.

● Operation
▶ Just touch the light source briefly to toggle the light ON and OFF.

See item in Second Life

Features

  • Simple Touch for on off
  • Configurable for light "face" without editing the script
  • Configurable lighting parameters with simple editing
  • Optional Switch Click sound
  • Teaching / Learning Aid / Easy Set-up

Contents

Average rating: full star full star full star full star full star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
Excellent
full star full star full star full star full star Posted April 06, 2023 by Odessa Ireton

This couldn't be easier. Just drop the script in the prim and that was basically it. I didn't need to modify the settings though the NC was extremely clear of what each setting was and how to edit it in the script. Thanks for sharing this for free.

Was this review helpful?
Have a light fixture that doesn't turn on. This is your solution.
full star full star full star full star full star Posted August 19, 2022 by KalvinKockswain

One of my pet peeves is a light fixture that doesn't turn on as a script was not included in the product. Well, no more. This easy to use script will solve that problem, provided that the item is set to Modify. The accompanying notecard explains the process. I had never played with adding scripts before. So very simple. Not only can you get light but you can cause the bulb or shade to become full bright which, in my opinion, adds to the realism of the experience.

I am now looking forward to trying the script that will sync on/off with the region or parcel day/night cycle. Thank you for making this product!

Was this review helpful?

L$0

Luna Fatale Creations
Luna Fatale Creations
Sold by: Wendy Nitely

Use It Now

This item will be delivered directly to you or a friend in Second Life, unpacked and ready to use. No land or sandbox required.

Permissions:
  • Copy
  • Modify
  • Transfer
  • User Licensed
Automatic redelivery
Land Impact: 0