These forums are CLOSED. Please visit the new forums HERE
Simple slow zoom in/out texture script |
|
Flower Balogh
Registered User
Join date: 24 Jul 2007
Posts: 64
|
01-27-2009 01:28
I am looking for a basic script that will zoom in and out a texture. any ideas?
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
01-27-2009 21:51
Have a play with this:
CODE
(press the quote button to get the script formatted without the php tags). What do the numbers mean? Ignore the first two 1's (they are not used when llSetTextureAnim is zooming out and in). The last three numbers, 1, 3 and 2, are the important ones here.. they mean, start with one repeat per face, go up to three repeats (i.e. zoom out), and change scale twice a second (i.e. take one second to zoom out from 1 to 3). PING_PONG means then zoom back in, and LOOP means keep on doing it. If you want to start by zooming in, the last numbers should be -1,3 and 2. That is, starting with a negative number means "zoom in". http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetTextureAnim and http://wiki.secondlife.com/wiki/LlSetTextureAnim give more details. |