Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Color change script?

Nyte Caligari
Registered User
Join date: 6 May 2005
Posts: 238
08-26-2005 21:10
Hi Everyone,

Know little to nothing about LSL, but I have stumbled upon two color change scripts... that change the color of a prim.

My problem is, they work just fine when you create and own the object. But as soon as the object is given to someone else it stops working.

Any hints or tips about how to fix this issue would be very much appreciated!

THANKS :)
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
08-26-2005 21:30
CODE
on_rez(integer start_param)
{
llResetScript();
}

Clears up most stuff :) .
_____________________
Nyte Caligari
Registered User
Join date: 6 May 2005
Posts: 238
08-26-2005 21:58
Great!! Works wonderfully, thanks much! :)
Kurt Zidane
Just Human
Join date: 1 Apr 2004
Posts: 636
08-27-2005 07:53
if you reset yoru script. The script will lose all temporary data.
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
08-27-2005 09:46
From: Kurt Zidane
if you reset yoru script. The script will lose all temporary data.

I think this is just a simple color change script so, they are probably not storing very much temp data in it. :)
_____________________