Sweetheart Baskerville
Registered User
Join date: 1 Jan 2004
Posts: 32
|
01-14-2010 21:34
I have been looking for a script that will animate a prim/prims, example: window in a home where it looks like it is either raining or snowing on a click of a prim...it needs to be with multiple prims...All I seem to find are particle snow machines...not what I'm looking for...just a plain glass where there is a script and a rain or snow texture inside and the script telling which one to use by clicking another prim that is linked...i see them around but none are copy/transfer...i dont need the script to be full permed...just copy and transfer...I have my own snow and rain texures....can some one please help me? Thank You, Sweetheart
|
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
|
01-14-2010 23:25
I think llSetTextureAnim() is the function you're looking for - http://lslwiki.net/lslwiki/wakka.php?wakka=llSetTextureAnimBasically, create a cel animation texture for rain and another for snow... like a cartoon flipbook. That's a single texture with a grid of various stages of precipitation.. which, when sequenced and looped by llSetTextureAnim(), appears to be a falling rain/snow animation. Once the animation is rolling, your script can toggle between textures on touch... the snowing texture, the raining texture, or a clear texture for when there's no rain/snow.
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
01-14-2010 23:54
Please note that if the above is more than you can or want to handle, it's suggested to post to products wanted forum, as this forum is for teaching and learning to script.
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|