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
Rezzers Twisted_Creations_Rezzer  

Twisted_Creations_Rezzer

Twisted creations 2007-2011

Simple yet very efficient rezzer system, ideal for vehicles.
TIP: Set your vehicles to temprezz, this way you will not need a etra script or part of code to delete it when ppl stop using it.

There properly more uses for it enjoy.
Keep this script free, and credits intact would be nice!

Category: Rezzers
By : muziekfreak1980 miles
Created: 2011-10-08 Edited: 2011-10-08
Worlds: Second Life

the Zip file

Download all files for Twisted_Creations_Rezzer
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Twisted_Creations_Rezzer_1.lsl
1 //Twisted Creations 2011, Muziekfreak1980 miles
2 //Feel free to distribute, keep credits intact thank you and enjoy
3
4
5 string object = "Twisted Creations, Jet-Stream"; // Name of object in inventory
6 vector relativePosOffset = <4.0, 0.0, 0.2>; // "Forward" and a little "above" this prim
7 vector relativeVel = <1.0, 0.0, 0.0>; // Traveling in this prim's "forward" direction at 1m/s
8 rotation relativeRot = <0.0, 0.0, 0.0, 0.0>; // Rotated 90 degrees on the x-axis
9 integer startParam = 1;//how many times the object will rezz, upon one click
10 string sound = "b4d0ee9c-9dab-2d53-706e-0787cc79432b"; //Sound file uuid or drop in wav, name it.
11
12 default
13 {
15 {
16 llSetText("Twisted Creations\n Jet Stream \n Rezzer, just click me \n To rezz a jet ski", <1,1,1>,1);//set floating text
17 }
18
19 touch_start(integer total_number)//Trigger
20 {
21 vector myPos = llGetPos();
22 rotation myRot = llGetRot();
23
24 vector rezPos = myPos+relativePosOffset*myRot;
25 vector rezVel = relativeVel*myRot;
26 rotation rezRot = relativeRot*myRot;
27 llPlaySound(sound, 1.0);//Line 5 you can change the UUID, this is the trigger
28 llSay(0,"Hop on the Jet-Ski, you have 60 seconds to do so");
29 llRezObject(object, rezPos, rezVel, rezRot, startParam);
30 llSleep(30.0);//xx second sleep, to prevent abuse, recommended to keep in here
31 llSay(0,"Ready to use again, feel free to click me for a Jet ski");//After sleep message
32 llResetScript();//Enables rezzing again after sleep period
33 }
34 }

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