Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

script needs to work on all prims in object.

Odysseus Bliss
Registered User
Join date: 18 Dec 2004
Posts: 21
01-05-2005 14:55
i've looked for an answer to this, but haven't been able to find it.


i have a color changing script that i want to work on all prims of an object. now, it only works on one. i'm using

llSetColor(color, ALL_SIDES);

is there a way to get this to spread to the child prims in my object? yes, they are linked.

i appreciate any assistance and will offer my own as my understanding improves.
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
01-05-2005 14:58
llSetLinkColor(LINK_SET,color,ALL_SIDES);

see also

llSetLinkAlpha :)


L8r,
UU

P.S. see also The LSL Wiki
Odysseus Bliss
Registered User
Join date: 18 Dec 2004
Posts: 21
01-05-2005 15:03
woohoo! quick reponse! thank you! i'll check it out!
Odysseus Bliss
Registered User
Join date: 18 Dec 2004
Posts: 21
01-05-2005 15:11
that did the trick. thanks again.