3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Getting started in LSL scripting in Second Life

Step 8A final word on words

Objects speaking is a great way to know what a script is doing, but everyone can hear it for 30m all around you. As you get into more complex scripts this can get pretty noisy! Three alternative ways to see what is going on exist.

SHHHH WHISPER

llWhisper( ) is just like llSay( ) but only broadcasts at half the distance. You still l must state what channel. So....

llWhisper(0,"turnign on!");

...might work a bit to save the sanity of your neighbors.

Using llShout( ) doubles the distance heard, but can cut the amount of friends you have in half. :-D

llOwnerSay( ) uses no channel and is heard only by you. Very usefull and can triple the amount of friends you have!

llOwnerSay("turnign on!");


THE SOUND OF SILENCE

You can make a totally silent message via llSetText( ) like this.

llSetText("I am on", <1,1,1>,1.0);

What do the numbers mean? the <1,1,1> we've seen before. It represents the values for red, green, and blue. For now just know that <1,1,1>, means "white" and <0,0,0> means "black". Replace the llSay(0,"turnign off!"); with...

llSetText("I am of", <0,0,0>,1.0);

The 1.0 is the alpha setting. 1.0 means fully opaque, and 0.0 would be completely transparent (invisible).

TRY THIS

Where would you put a command to say something just before the script leaves the default state?

answer:

|
|
|
|
|
|
|
|
|
|
|
V

Right above the "state off;" command in the "touch_start" event inside of the default state.

Don't confuse it with the "state off" that defines the start of the new state!
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
4
Followers
1
Author:Blueman
Hey all, this is Blueman Steele. I don't log in much now but want to try to put some of the many things I learned in Second Life here on this site.