G General

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

Switch Light ON / OFF Script (free) - Full Perms
Details
Features
Contents
Reviews

█ 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
  • 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
Average rating: full star full star full star full star full star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
Great script
full star full star full star full star full star Posted November 27, 2016 by ColonelAeryck

It does just what I need it to do and is well commented so it's super easy to understand.

Was this review helpful?
Nice script
full star full star full star full star full star Posted January 13, 2016 by Wolfy Littlepaws

Modified the script a little and put it into Wolfy's own simple lights, works perfectly~
Wolfy also likes the gradual on/off switching. ^.^

Was this review helpful?
nice
full star full star full star full star full star Posted August 08, 2015 by Caren Jewell

works, simple, great - did all I need :)

Was this review helpful?
perfect
full star full star full star full star full star Posted June 02, 2015 by Nazreen Darkstone

thank you :) i searched everywhere, now i can put some scripts into my house lights

Was this review helpful?
awesome.
full star full star full star full star full star Posted March 22, 2015 by DangerGamer717

works like a charm.

Was this review helpful?
Awesome!
full star full star full star full star full star Posted March 06, 2015 by DjolyX

Just perfect!

Was this review helpful?