Zara Avindar Posted October 28, 2020 Share Posted October 28, 2020 I'm working on a script that will change the colors on a prim point light but I'm wondering if there's a way to make the change slowly rather than an abrupt change. Maybe it's already been done, but I haven't found anything about it. Thank you in advance for your input. Link to comment Share on other sites More sharing options...
Rolig Loon Posted October 28, 2020 Share Posted October 28, 2020 If nothing else, you could run a timer event that triggers llSetLinkPrimitiveParamsFast every time and updates the color vector used in PRIM_POINT_LIGHT gradually each time. 2 Link to comment Share on other sites More sharing options...
Zara Avindar Posted October 28, 2020 Author Share Posted October 28, 2020 that's what I'm planning to do but it's the "gradual" change that is causing me problems when I map it out. Won't that just make an abrupt color change? Link to comment Share on other sites More sharing options...
Rolig Loon Posted October 28, 2020 Share Posted October 28, 2020 Just now, Zara Avindar said: Won't that just make an abrupt color change? That all depends on how fast the timer runs and how much the color vector changes each time. Link to comment Share on other sites More sharing options...
Zara Avindar Posted October 28, 2020 Author Share Posted October 28, 2020 oh wait ok.... so I need a second timer.... one for the interval and the other for the length of time to make the change. Duh.... got it.... thank you Rolig😜😁 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now