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
Color Set_Color  

Set_Color

Set Color.lsl

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

the Zip file

Download all files for Set_Color
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Set_Color_1.lsl
1
2 1// remove this number for the script to work.
3
4
5
6 //This script will set the color of an object, Very useful when used with the get color vector script.
7
8 //This is the color vector, Change the numbers between the 2 arrows.
9
10 vector color = <1,1,1>;
11
12 //This is side of the object which the script will change the color of. Using ALL_SIDES will change the color of all the sides.
13
14 integer side = ALL_SIDES;
15
16
17
18 default
19 {
21 {
22 llSetColor(color,side);
23 }
24 }
25 // END //

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