Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Windows lens_opacity  

lens_opacity

lens opacity.lsl

Category: Windows
By : Anonymous
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for lens_opacity
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. lens_opacity_1.lsl
1
2 // script that changes opacity of object based on external messages
3
4 default
5 {
7 {
8 }
9
10 link_message(integer sender_num, integer num, string str, key id)
11 {
12 float opacityLvl = (float)num;
13 opacityLvl = 1.1 - ((opacityLvl / 3) * 0.9);
14 llSetAlpha(opacityLvl, ALL_SIDES);
15 }
16 } // END //

Back to the Best Free Tools in Second Life and OpenSim.