These forums are CLOSED. Please visit the new forums HERE
Light script help |
|
|
Dragger Lok
(loading ...)
Join date: 10 Sep 2006
Posts: 228
|
02-17-2007 07:54
Hi, looking for a simple touch on touch off light script- I've found one that changes the prim to a "light" prim but I'm looking for one that throws light... thanks
|
|
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
|
02-17-2007 08:12
http://lslwiki.org/index.php/LlSetPrimitiveParams
Use the PRIM_POINT_LIGHT CODE
|
|
Dragger Lok
(loading ...)
Join date: 10 Sep 2006
Posts: 228
|
02-17-2007 08:16
wow fast...but im not a scripter (so far from it yet) and need someting to drop into a prim...thats my level
|
|
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
|
02-17-2007 08:32
LOL, I'm about at that level too. Just happened to be playing with a script with that line in it and was in the process of looking it up on the Wiki when I saw your thread.
Try this thread, it has it in it. /54/ed/163199/1.html |
|
Geuis Dassin
Filming Path creator
Join date: 3 May 2006
Posts: 565
|
02-17-2007 10:30
integer trigger = FALSE;
default { touch_start(integer total_number) { if(trigger == FALSE){ trigger = TRUE; //ON llSetPrimitiveParams ([PRIM_POINT_LIGHT, TRUE, <1, 1, 1>, 1.0, 3.0, 0.75] ); }else{ trigger = FALSE; //OFF llSetPrimitiveParams ([PRIM_POINT_LIGHT, TRUE, <1, 1, 1>, 0.0, 3.0, 0.75] ); } } } |
|
Dragger Lok
(loading ...)
Join date: 10 Sep 2006
Posts: 228
|
02-17-2007 10:41
thanks...but i drop it into a new script place it in a prim and...ahh nothing... may have to bite the bullit and buy a script..
|
|
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
|
02-17-2007 10:58
thanks...but i drop it into a new script place it in a prim and...ahh nothing... may have to bite the bullit and buy a script.. No, keep trying to figure it out! You will. |
|
Dragger Lok
(loading ...)
Join date: 10 Sep 2006
Posts: 228
|
02-17-2007 11:36
there is only so much time in a day and if i can save time by purchasing a script i have to do it, i'm building a prefab or two and the weekends just slip away....
|
|
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
|
02-17-2007 13:07
there is only so much time in a day and if i can save time by purchasing a script i have to do it, i'm building a prefab or two and the weekends just slip away.... Post you script, maybe someone can help more. |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
02-17-2007 14:20
We've produced two or three prim lights here over the last few months.
try this thread |
|
Dragger Lok
(loading ...)
Join date: 10 Sep 2006
Posts: 228
|
02-17-2007 19:16
Hi, looking for a simple touch on touch off light script- I've found one that changes the prim to a "light" prim but I'm looking for one that throws light... thanks Maybe reposting my question would clarify what im looking for... have looked in every corner of the posts for a simple script that must be out there... if not I'll just buy one |
|
Geuis Dassin
Filming Path creator
Join date: 3 May 2006
Posts: 565
|
02-17-2007 20:21
Jesus christ, I wrote that damn script IN SECOND LIFE. IT WORKS.
Turn your lights to midnight AND CLICK ON THE PRIM. IT WORKS |
|
Dragger Lok
(loading ...)
Join date: 10 Sep 2006
Posts: 228
|
Thanks
02-18-2007 18:37
Would like to thank Robin for the most excelent script, right on target!
|