Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Controling multiple objects alpha channels with one script

Tasrill Sieyes
Registered User
Join date: 6 Nov 2005
Posts: 124
05-16-2006 14:12
I am having some trouble. I have a script to make an object blink to invisable. The problem is I can't figure out how to make multiple objects to blink with one script. I have to many objects to make blink to shove a script into each one and it is far to messy for me to feal right doing that. How could I link the alpha channels of many objects to a single script?
Shack Dougall
self become: Object new
Join date: 9 Aug 2004
Posts: 1,028
05-16-2006 14:22
llSetLinkAlpha() can be helpful for setting the alpha of multiple prims within a linked set.

But if your objects aren't linked, then you'll have to have at least one script in each object and then use listen or email to synchronize.
_____________________
Prim Composer for 3dsMax
-- complete offline builder for prims and sculpties in 3ds Max
http://liferain.com/downloads/primcomposer/

Hierarchical Prim Archive (HPA)
-- HPA is is a fully-documented, platform-independent specification for storing and transferring builds between Second Life-compatible platforms and tools.
https://liferain.com/projects/hpa
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
05-16-2006 14:23
llSetLinkAlpha(LINK_SET,1,ALL_SIDES);

That should set everything in the object to transparent. You should probably read the wiki page on that.

EDIT:Whatever you do, don't use email. Maybe listens, but it's still not advisable.
Tasrill Sieyes
Registered User
Join date: 6 Nov 2005
Posts: 124
05-16-2006 17:27
Doh. I really need to be more observent. Thanks for the help.