These forums are CLOSED. Please visit the new forums HERE
Scripts and Attachments |
|
Kurshie Muromachi
Primtastic!
Join date: 24 Apr 2005
Posts: 278
|
08-11-2005 11:10
Is it possible to have a main script inside a single prim object (that is attached to the body) be able to change colors of the other objects attached to other parts of the body? I ask because it would be a hassle to go into each prim and make updates. Plus it will cut down on having scripts setup through my whole AV. I have objects attached to many parts except for a couple places.
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
08-11-2005 11:45
Um the answer is not how you've described it I suspect.
Things attached to you aren't also attached to any other things you're wearing. You could do it through listens and whispers and put a new script in every other attachment though. |
Kurshie Muromachi
Primtastic!
Join date: 24 Apr 2005
Posts: 278
|
08-11-2005 11:54
That's what I was afraid of. Eeps. Ok, thanks.
|
Kurt Zidane
Just Human
Join date: 1 Apr 2004
Posts: 636
|
08-11-2005 15:54
nope, but it is posable to have a master script, the dictates changes to all other attachments. But those beta objects still have to have scripts in them.
|
Blain Candour
Registered User
Join date: 17 Jun 2005
Posts: 83
|
08-12-2005 07:17
Well.. there are actually less laggy ways to do this than listeners but that is the simplest way. You could also use:
http://secondlife.com/badgeo/wakka.php?wakka=llRemoteLoadScriptPin. I imagine this would be the least laggy way to do it as long as you are not changing colors every few seconds but it is an area not a lot of people seem to get into. Just set the pin of all the attached prims one time to the same pin then use a single call of the above function to send a script that changes the prims color then deletes itself (the script obviously, not the prim). Have a script for each color. red, etc. If you want to get real fancy you can have a script that instead of changing to a defined color loads into all the attachments then enables a listener and sets a timer for 30 seconds or so and waits for a custom color command then kills the listener after the timer times out. If you want help with this let me know. |