Join us in Outworldz at or follow us:

[Table of Contents]

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
Writing SkyWriter  


Write on the sky with mouselook

Category: Writing
By : Ferd Frederix
Created: 2013-09-06 Edited: 2013-09-04
Worlds: Second Life

the Zip file

Download all files for SkyWriter
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Script.lsl

This script by Ferd Frederix may be used in any manner, modified, and republished.  Unless specified otherwise, my scripts are always free and open source.  Objects made with these scripts may be sold with no restrictions.  All I ask is that you point others to this location should they ask you about it and to not sell this script, unless it is for $0 L. Please help improve my work by reporting bugs and improvements.

2 integer offset=88000;
3 float zh;
4 default
5 {
8 }
10 {
11 llOwnerSay("Press 'M' to go into mouselook. Then Hold the left Mouse Button to draw!!D");
12 if(!llGetAttached())return;
17 zh=pos.z*.5;
18 }
20 control(key id,integer on, integer change)
21 {
22 offset+=1;
24 llRezObject(llGetInventoryName(INVENTORY_OBJECT,0),<0,0,zh>+llGetPos()+(<2.5,0,0>*llGetRot()),<0,0,0>,<0,0,0,0>,offset);
25 llStartAnimation("arm0");
26 }
28 llRezObject(llGetInventoryName(INVENTORY_OBJECT,0),<0,0,zh>+llGetPos()+(<2.5,0,0>*llGetRot()),<0,0,0>,<0,0,0,0>,offset);
29 offset+=5;
30 llStopAnimation("arm0");
31 }
32 }
33 }

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