Hi,
I'm new to LSL though not coding.
I'm trying figure out how to fade a prim for say 5 seconds, and then reappear for 0.5 seconds, and then loop.
I realise there a number of ways to do it:
a) Set the default state to be 100% transparency and then reduce transparency to 0% for 0.5 seconds, and set the whole thing on a 5 second loop.tex
b) Do the opposite, set default state to 0% transparency and then increase transparency to 100% for 5 seconds, on a 0.5 second loop.
c) Do something with textures; i.e. have two textures, one blank and one default texture, and do the whole 5 second, 0.5 second texture switch loop. Problem with this one is that unlike with transparency, alpha textures can sometimes leave that alpha 'halo' effect you can sometimes see in hair.
I tried to use a very basic llSetAlpha script generated online, but it doesn't work. I'd rather work with transparency instead if someone is willing to give me a hand.
Thank you!