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
Pet Follow_Me  

Follow_Me

Follow Me.lsl

Category: Pet
By : Anonymous
Created: 2010-01-10 Edited: 2016-01-23
Worlds: Second Life

the Zip file

Download all files for Follow_Me
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Follow_Me_1.lsl
1 // Rev 1.1. : put sane values in - fkb
2
3 default
4 {
6 {
7 vector pos = llGetPos();
8 llSetStatus(STATUS_ROTATE_Z, FALSE);
10 llSleep(0.1);
11 llMoveToTarget(pos,0.1);
12 key id = llGetOwner();
13 llSensorRepeat("","",AGENT,96,PI,.4); //max range in a sphere
14 }
15
16 sensor(integer total_number)
17 {
18 vector pos = llDetectedPos(0);
19 vector offset =<-1,0,1>;
20 pos+=offset;
21 llMoveToTarget(pos,.3);
22 }
23 }
24 // END //

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