|
Graham Genosse
Registered User
Join date: 18 May 2006
Posts: 12
|
06-08-2006 14:10
okay, i'm new to scripting, but I want to learn, to be honest. Now then, i'm good at building, and i've made wings with gems in them, that i want all of them to change at the same time, i know i can either use a simple uv rotation, but even then theyd have to be synchronized,w hich is what im trying to figure out, So i want them all to change to the same color, at the same time. any ideas on how to do that?
|
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
06-08-2006 14:23
llSetLinkColor(LINK_SET,<color>  ; Check the wiki -- a link is in my signature.
|
|
Graham Genosse
Registered User
Join date: 18 May 2006
Posts: 12
|
06-08-2006 15:35
and this will work on different parts and not all of it. so if only little bits of it in tere i want to change, if i put the script in each of those prims wilo change color, and none of the other ones will?
|
|
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
|
06-08-2006 16:30
To use llSetLinkColor only on particular prims in a build, you will have to call it once for every prim you want to change. You can figure out which link_number a prim is by putting a simple script in each prim that announces its link_number on touch.
You could also have the master script send a link_message to all prims and only have "listener scripts" in those prims that you want to change, but that would take more memory than is necessary.
If you need more help, just holler here or in SL.
Baron
|