Jump to content
Sign in to follow this  
SnakeDance Moonwing

I need a Scrolling Marquee script

Recommended Posts

Yes there is such a thing, you should be able to find it in your Inventory > Library > Scripts > amin SMOOTH

But if for some reason it is not there here you go...

// anim SMOOTH Script
// By Doug Linden (I think)
//

// If you are interested in scripting, check out
// the Script Help under the help menu.

// The double slash means these lines are comments
// and ignored by the computer.

// All scripts have a default state, this will be
// the first code executed.
default
{
    // state_entry() is an event handler, it executes
    // whenever a state is entered.
    state_entry()
    {  
        // llSetTextureAnim() is a function that animates a texture on a face.
        llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, ALL_SIDES,1,1,1.0, 1,0.25);
                            // animate the script to scroll across all the faces.
    }
 
   
}
 

The image has to be made a certain way depending on how you want it to scroll so test it with any texture or photo on a prim first so you can see how it works. Also to change the direction just use the image rotation in the texture tab of the editor :D

  • 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.

Sign in to follow this  

×
×
  • Create New...