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
Pointer Pointer  

Pointer

First, The version which includes the llMoveToTarget follow:

Category: Pointer
By : Davy Maltz
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Pointer
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Pointer_1.lsl
Get file # 2. Pointer_2.lsl
1 default
2 {
3 on_rez(integer start_param)
4 {
6 }
8 {
9 llSensorRepeat("","",AGENT,96,TWO_PI,0.01);
10 }
11 sensor(integer num_detected)
12 {
13 integer num = 0;
15 {
16 num = 1;
17 }
18 llLookAt(llDetectedPos(num),.5,.5);
19 integer i;
20 for(i = 0; i < num_detected; ++i)
21 {
23 {
24 llMoveToTarget(llDetectedPos(i) + <0,0,7>,0.1);
25 }
26 }
27 }
28 no_sensor()
29 {
31 }
32 }

Pointer

And this version, which doesn't:

Category: Pointer
By : Davy Maltz
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

1 default
2 {
3 on_rez(integer start_param)
4 {
6 }
8 {
9 llSensorRepeat("","",AGENT,96,TWO_PI,0.01);
10 }
11 sensor(integer num_detected)
12 {
13 integer num = 0;
15 {
16 num = 1;
17 }
18 llLookAt(llDetectedPos(num),.5,.5);
19 integer i;
20 }
21 no_sensor()
22 {
24 }
25 }

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