
Light Switch Script
You need to own this item to leave a rating.
Version 1.3.2
Smart and synchronized control for lights and materials
MPP – LightSwitch is an advanced script designed to provide smooth, precise, and immersive control over lighting systems in Sansar. It allows you to manage lights and emissive materials on the same object, with elegant transitions and powerful synchronization options—perfect for professional, artistic, or interactive environments.
More than a simple switch, LightSwitch becomes a complete lighting management system.
________________________________________
Key Features:
• Light control
o Toggle multiple LightComponents
o Control color and relative intensity
o Smooth interpolated transitions
• Material control
o Adjust Emissive Intensity (shader-dependent)
o Modify Tint on compatible materials
o Fully synchronized with lights
• Group Mode
o Synchronize multiple lamps or objects
o Uses ScriptEvents for communication
o Ideal for large or complex lighting setups
• Chat Commands
o Works in Nearby chat or a custom channel
o Great for roleplay, events, and remote control
• Advanced Access Control
o Whitelist or blacklist by avatar name
o Security applies to both click and chat actions
________________________________________
Technical Details:
• Supports multiple LightComponents per object
• Shared transition system for lights and materials
• No shader switching required
• Clean, optimized script structure
________________________________________
Customization & Use Cases:
• Interactive lamps
• Architectural lighting
• Sci-fi and futuristic scenes
• Wall switches and control panels
• Full ambient lighting synchronization
________________________________________
P.S.
MPP – LightSwitch is built for creators who want professional, consistent, and immersive lighting, with full control and security.
------------------------------
Enjoy and Keep Good Vibes.
Hugs from Morgane.
------------------------------