These forums are CLOSED. Please visit the new forums HERE
one script to change all linked prims? |
|
Ante Flan
'yote
Join date: 14 Sep 2005
Posts: 46
|
11-14-2005 10:11
Hey, sorry if this has been asked before, but I've been having some trouble. I have a simple show/hide script, but when I put it on something that is linked, it only makes that one prim change. Is there any way I can have the script change all of the prims linked? I don't really want to throw a listen script in every single one of the prims I want to change. I'm sure there is some easy explaination that I somehow don't know. Thanks in advance.
|
Cid Jacobs
Theoretical Meteorologist
![]() Join date: 18 Jul 2004
Posts: 4,304
|
11-14-2005 10:13
llSetLinkAlpha , should help you out. Good Luck
![]() _____________________
|
Ante Flan
'yote
Join date: 14 Sep 2005
Posts: 46
|
11-14-2005 11:41
Thanks for the help. I knew it must have been something really easy I just didn't know.
![]() |
Ante Flan
'yote
Join date: 14 Sep 2005
Posts: 46
|
11-14-2005 12:46
Ok, new question. How do I make this work so I can have 2 groups of objects linked and be able to toggle them? Like, have /9whatever show one and hide the other and /9whateverelse show and hide the opposite?
|
Cid Jacobs
Theoretical Meteorologist
![]() Join date: 18 Jul 2004
Posts: 4,304
|
11-14-2005 13:38
Ok, new question. How do I make this work so I can have 2 groups of objects linked and be able to toggle them? Like, have /9whatever show one and hide the other and /9whateverelse show and hide the opposite? llSetLinkAlpha lets you put in each prims link number, so you can change each individual prims alpha that way. You can get the link number from llGetLinkNumber . Alternativly, you can use llMessageLinked to the prims telling them to either become invisible or visible. Each prim will need a script in it though, with a link_message event in it. Hope that helped, good luck. ![]() _____________________
|