Jump to content
Sunbleached

zoom script. ll set texture animation

Recommended Posts

Posted (edited)

hi! i am making a script which will zoom texture in and out. but it zooms in too close and out too far. how to fix it? i need approx. 2x zoom only and 1x1 zoom out.

default
{

    state_entry()
    {   

        llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP,
        
         ALL_SIDES 
         
         , 1, 1, 0.05, 1.0, 
         
         0.1 
         
         );
                    
    }
 
    
}

 

2.jpg

505adaa244153e7fb6378ad0b47eae06.jpg

Edited by Sunbleached

Share this post


Link to post
Share on other sites

Try replacing the 0.05, 1.0, with 0.5, 0.5,.

I've no idea how the parameters are supposed to work with scaling, but those numbers seem to zoom in to 2x and back to 1x.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...