Home |
Add a script
|
||
|---|---|---|---|
| Category: | Contributor: | Description | |
| Flight Assist | Anonymous | Final Flight 2.lsl | |
Final Flight 2.lsl
Final Flight 2.lsl
Download this script - Please use this link to get this script. If you see all the code on one long line, please use Wordpad or another editor, such as LSLEdit.exe. The .LSL file you will download is an ordinary text file.
1 // CATEGORY:Flight Assist 2 // DESCRIPTION:Final Flight 2.lsl 3 // ARCHIVED BY:Ferd Frederix 4 5 float speed=10000; 6 7 default 8 { 10 { 11 if (on != NULL_KEY) 12 { 13 llListen(0,"",llGetOwner(),""); 14 integer perm = llGetPermissions(); 15 if (perm != (PERMISSION_TAKE_CONTROLS)) 16 { 18 } 19 else 20 { 22 } 23 } 24 } 25 27 { 28 list test = llCSV2List(m); 29 if(llGetListLength(test)==2&&llList2String(test,0)=="speed") 30 speed=llList2Float(test,1); 31 } 32 33 run_time_permissions(integer perm) 34 { 35 if (perm) 36 { 38 } 39 } 40 42 { 44 { 45 llSetForce(<0,0,0>, FALSE); 46 } 47 else 48 { 50 fwd = llVecNorm(fwd); 51 fwd *= speed; 52 llSetForce(fwd, FALSE); 53 } 54 } 55 56 }// END //