|
Dale Harmison
Registered User
Join date: 26 Dec 2005
Posts: 59
|
07-19-2006 08:40
hi i was just wondering if theres a script that allows me to change texture by either using the /command or touch menu? anyone know anything like that? also is there a way to link multimple objects together to make sure that all of them change to the same texture at the same time? thank you for your time!
|
|
Bitzer Balderdash
Dazed and Confused
Join date: 21 Dec 2005
Posts: 246
|
07-19-2006 08:43
llSetTexture will change the texture of the prim that it is in.
you would need to send a link message to the linked set to change them all - the most common way is to send the UUID of the texture as the key in the message, and have a script with a link message event in each and every prim that hears the message and changes its texture.
|
|
Miyya Rosewood
Registered User
Join date: 4 Mar 2006
Posts: 2
|
07-19-2006 08:45
hiya dale ...... if u mean how to have them continually flick through then i use the loop script =)
|
|
Norman Desmoulins
Grand Poohba
Join date: 10 Nov 2005
Posts: 194
|
07-19-2006 08:58
yes, you need to have a script running in each linked prim that listens for whatever texture update command that you send. I have a nice system for it, if you look for me in world, I can easily help you out... show you how to do your own.
I have done a big system that can do theme changes across an entire sim... and am getting ready to make the next big update of it to do scene changes as well. It's a mountain/cave/garden scene right now, that currently does a summer and winter theme. Getting ready to build my dream small town USA in it's place... but it will have the ability to switch back and forth.
|
|
Dale Harmison
Registered User
Join date: 26 Dec 2005
Posts: 59
|
07-19-2006 16:36
oh i understand that i have to have a script in each object now. im sorry im not very familiar with scripting so some of the things said are a bit confusing. i just wish i could learn more stuff about touch menus to understand them better and be able to add more features to it, but so far ive been unsuccessful at it...
|