Step 8A final word on words
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 Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|

































