Talk:PRIM POINT LIGHT

From Second Life Wiki
Jump to navigation Jump to search

Multiplying Colour?

In the compact version example is there a reason for multiplying the colour in this line:

PRIM_POINT_LIGHT, switch, <1, 0.5, 0.1> *  switch, 1, 10, 0.6

If the light is being switched off then the colour will be multiplied down to <0,0,0> (black), but it seems that this is set when a light is disabled anyway (if you turn a light off then back on via script, it will be coloured black, with 0 for all values). -- --Haravikk 03:10, 17 February 2016 (PST)

You are right. I guess I was concentrating on a compact version that faithfully replicated what the original script did, and not on the minimum to achieve the desired effect! Omei Qunhua (talk) 04:14, 17 February 2016 (PST)