Search the Community
Showing results for tags 'toggle'.
Found 2 results
Hello. First let me say I'm still pretty new to building, scripting, etc., so I may be a little naive, but... Okay, let me try to explain what I've got so far....First, I have a link set of lights (prims)...each prim has a script that changes to one of a set group of colors. I've added an invisible prim as the root which acts as switch for all of the lights with the same script inside. So each prim color can be changed individually AND they'll all change to the SAME color if the root prim is touched instead. I've also found and added a script that turns the prim "projector" light on and off along with "full bright"....also by touch. This only works in the individual lights, not as a set via the root prim, which I'm fine with. All of this works and works together beautifully. The only thing I'm looking for now is a way to synchronize the color of the projected light with the chosen color of the prim. So if I choose to make all the lights blue, then click them all to "turn them on", I'd like the projector light to turn on blue automatically as well. Not sure if that's even possible...or if it is, whether or not that would conflict with any of the other currently working scripts. But any help or advice....or scripts, lol...would be greatly appreciated. Thank you!