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
Eyeballs Eyeball_rotatorr  

Eyeball_rotatorr

oog script onder.lsl

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

the Zip file

Download all files for Eyeball_rotatorr
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Eyeball_rotatorr_1.lsl
1
2 rotation close = <0.66154, 0.72626, -0.16707, 0.08362>;
3
4
5
6 rotation open = <0.58685, 0.67261, -0.34808, 0.28645>;
7
8
9
10
11 default
12 {
13
14
16 {
18
19 //example parameters
20
21 // a b c d
22 //<-0.19025, 0.62123, 0.59892, -0.46816>;
23
24
25
26 // d c b a
27 //<0.46819, 0.59887, 0.62126, 0.19024>; A and d revers sign
28
29
30
31
32 }
33
34
35 link_message(integer sender_num, integer num, string str, key id)
36 {
37
38
39
40
41 if(str == "blink" || str == "blink_outer")
42
43 {
44 llSetLocalRot(close); // close eye
45
46 llSleep(0.15);
47
48
49
50
51 llSetLocalRot(open); // open eye
52
53
54
55
56 return;
57 }
58
59 if(str == "eye_close" || str == "eye_close_upper"){
60 llSetLocalRot(close);
61 return;
62 }
63
64 if(str == "eye_open" || str == "eye_open_upper"){
65 llSetLocalRot(open);
66 return;
67 }
68
69
70
71
72 }
73
74
75 }
76 // END //

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