Winston Zaius
Registered User
Join date: 13 Mar 2004
Posts: 3
|
10-22-2005 09:36
Can someone explaine to me how you can lightien and darken windows using a single and or multiple controlers. I have a houe that has some windows that lighten and darken and some that do not. I would like to re write the script to include all the windows i have or only some of them. I would have to rewrite the script because the original one is locked out.
Thanks
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
10-22-2005 10:07
Err.... What exactly do you mean? Are you talking about the Windows API, or about HUD, or what?
|
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
|
10-22-2005 12:27
Winston, windows are darkened by adjusting theit transparency.So each window would containg a script that uses llSetAlpha to adjust its darkness. There are a few ways to get the commands from the controller to the windows. If the controller and all the windows are all linked together (probably as part of the house linksets) then you can use llMessageLinked, otherwise you could have each window listen on a private channel, and have the controller shout to them.
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
10-22-2005 12:48
From: Ben Bacon Winston, windows are darkened by adjusting theit transparency.So each window would containg a script that uses llSetAlpha to adjust its darkness. There are a few ways to get the commands from the controller to the windows. If the controller and all the windows are all linked together (probably as part of the house linksets) then you can use llMessageLinked, otherwise you could have each window listen on a private channel, and have the controller shout to them. *OR* You could completely ignore this man and do it the easy way http://secondlife.com/badgeo/wakka.php?wakka=llSetLinkAlphahttp://secondlife.com/badgeo/wakka.php?wakka=llSetLinkColorPlease note that there is no other llSetLink* type of function, so Ben's remark about link message communication still holds for everything else you want to do. In particular, there is no llSetLinkTexture, even though we've wanted it for a *long* time.
|
Nogard Codesmith
Second Life Resident
Join date: 24 Nov 2004
Posts: 191
|
Window Tinting Script
10-22-2005 12:49
I have a nifty free script that does just what youre looking for... IM me in world tonight (i know it looks like im inworld right now, but im really not)... ^_^
|
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
|
10-22-2005 13:16
From: Eggy Lippmann *OR* You could completely ignore this man and do it the easy way  whooops - fumbled that one  thanks for the backup, eggy
|