Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

A Little scripting help?

Angelique LaFollette
Registered User
Join date: 17 Jun 2004
Posts: 1,595
10-19-2006 16:58
I have a Couple of questions;

-I would like to place a script inside a Multiprim Object, Voice Channel activated, that will Toggle the prims from thier original colour/texture, to Invisible, and Back again.
1-A; Is this Possible with Multiple textureson a Multi Prim object?
1-B; Is such a script already available?

-I would like to place a script inside an object That, when i go into Mouselook, the object will turn to face in whatever direction I am facing in Mouselook.
I have seen something like this on ship mounted weapons systems.
2-A; Is this a custom script, or is it Commonly available?
2-B; If Commonly available, Where?

-Last question, I have seen objects set with a script that causes the object to Track with the nearest Avatars Movements, Like eyes in a Portrait Following a person as they pass.
3-A; Same question as 2-A
3-B; Same question as 2-B

Sorry, i AM a complete scripting newb, so pardon if the answers to my questions seem Obvious to you. ;)

Thanks in advance.
Angel
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
10-19-2006 23:58
1-A Yes. The bit about reverting textures makes it a bit of a pain, you'd have to have a script in each prim, because there's no llSetLinkTexture, but you can set colours and alphas by through a single script in linked objects. Depending on how fast you want the reversion you might be better with a script per prim anyway.
1-B Dunno.
2-A and 2-B Dunno. It's not hugely hard to write. Actually, I think if you find a ZX-4 helicopter, which whether or not deliberately is now a full perms freebie, there's a gun script in there that does that.
3-A and 3-B Sounds more custom, except, if you search this forum, Psyra was asking about a statue with tracking eyes recently, you might find enough of the script to make the whole thing.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
10-20-2006 01:04
If you are just making something invisible you dont need to change textures, just force the alpha. This is basically the standard show/hide functionality. Use llSetLinkSetAlpha

Items 2 and 3 would appear to be mutually exclusive?
Angelique LaFollette
Registered User
Join date: 17 Jun 2004
Posts: 1,595
10-20-2006 02:15
Thank you for Lightwave Valkyrie for Giving me the scripts for questions One, and Three, Thank you Chere,, Very kind of you. :)

A.