Free SL Scripts

  • Increase font size
  • Default font size
  • Decrease font size
Varia & Snippets

2 Notecard reader

E-mail Print PDF

// Reads 2 notecards from an object

Last Updated on Monday, 09 March 2009 20:47 Read more...
 

Basic Toggle

E-mail Print PDF

// A basic toggle, for demo purpose

Last Updated on Monday, 01 June 2009 12:22 Read more...
 

Bounce example

E-mail Print PDF

//Object will 'bounce' on the land.

Last Updated on Thursday, 30 July 2009 19:46 Read more...
 

Camera Follower

E-mail Print PDF

//Moves an object to the position of your camera. 

//********************************************************
//This Script was pulled out for you by YadNi Monde from the LSL WIKI, it is intended to stay FREE by it s author(s) and all the comments here in ORANGE must NOT be deleted. They include notes on how to use it and no help will be provided either by YadNi Monde or it s Author(s). IF YOU DO NOT AGREE WITH THIS JUST DONT USE!!!
//********************************************************

// Camera Follower by WolfWings Majestic
// Retrieved from from Free SL Scripts on http://www.freeSLscripts.com or www.gendersquare.org/sl
//Originally created by ArkLehane who edited the version posted here and credited to him on this Wiki out of existance.
//Re-created and rebuilt by WolfWings Majestic because the script idea is useful, but the original version could be improved on.
//

integer channel = 0;

default {
    state_entry() {
        llRequestPermissions(llGetOwner(),PERMISSION_TRACK_CAMERA);
    }
    run_time_permissions(integer perm) {
        if (perm & PERMISSION_TRACK_CAMERA) {
            state camera_captured;
        }
    }
}

state camera_captured {
    state_entry() {
        llListen(channel,"",llGetOwner(),"");
        llSetStatus(STATUS_PHYSICS,TRUE);
        llSetTimerEvent(0.1);
    }
    timer() {
        llMoveToTarget(llGetCameraPos()+<0,0,1>,0.1);
    }
    listen(integer channel, string name, key id, string message) {
        if (llToLower(message) == "hold") {
            state camera_captured_disabled;
        }
    }
}

state camera_captured_disabled {
    state_entry() {
        llListen(channel,"",llGetOwner(),"");
        llSetStatus(STATUS_PHYSICS,FALSE);
    }
    listen(integer channel, string name, key id, string message) {
        if (llToLower(message) == "follow") {
            state camera_captured;
        }
    }
}


 

 

Change Object Position

E-mail Print PDF
// Changes object position over time
// Increment distance
Last Updated on Sunday, 08 March 2009 18:58 Read more...
 

Color and Size changer

E-mail Print PDF
// Changes color and size
// With Timer 
Last Updated on Sunday, 08 March 2009 18:59 Read more...
 

Colour Toggle

E-mail Print PDF

//This script toggles an object between two colours on touch

Read more...
 

Counter example

E-mail Print PDF

//Counts how many times the object has been touched, and resets the count at 10

Read more...
 

Dialog Menu Example

E-mail Print PDF

// On touch, shows blue dialog menu window with options in right corner of your screen

Read more...
 

Die in 60 seconds

E-mail Print PDF

// Put me in a prim. When touched the prim will die in about 60 secs and deleted from your lost-and-found folder

Read more...
 

Fast Pay Script

E-mail Print PDF
// Payment snippet for vendor
 
integer payprice = 25;

default
{
    state_entry()
    {
        llSetPayPrice(payprice, [PAY_HIDE, PAY_HIDE, PAY_HIDE, PAY_HIDE]);
    }
    money(key giver, integer amount) {
        //llSay(0, "Thanks for the " + (string)amount + "L$, " + llKey2Name(giver));
    }
}

 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  Next 
  •  End 
  • »


Page 1 of 4

Submit a Free Script

GTranslate

English French German Italian Portuguese Russian Spanish

SL News Feeds

Test SL Script Vendor


Follow Me

Facebook Twitter YouTube

Feedburner

GSyndication

Scripters online in SL