| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Get control of your email attachments. Connect all your Gmail accounts and in less than 2 minutes, Dokkio will automatically organize your file attachments. You can also connect Dokkio to Drive, Dropbox, and Slack. Sign up for free.

View
 

Script sample 3

Page history last edited by Randall Sadler 11 years, 4 months ago

Hovertext with the ability to change color

 

This script, and versions of it, are very common throughout in Second Life.  For language learning they could be inserted into any object to show its name in another language.

 

default
{
    state_entry()
    {
        llSetText("insert your text here \n insert a slash and 'n' to nake a new line", <1,0,0>, 1.0);
        // Change HOVERTEXT to text u want
        // Can use \n as a linebreak
        // Think that 255 is char limit...
        //
        // Colors are as follows
        // 0,.5,.5  aqua
        // 0,0,1    blue
        // 0,0,.5   dark blue
        // 1,.5,0   orange
        // 0,1,1    cyan
        // 1,0,1    pink
        // 0,1,0    green
        // 0,.5,0   dark green
        // 1,0,0    red
        // .5,0,0   dark red
        // 1,1,1    white
        // 0,0,0    black
        // .5,.5,.5 grey
        // .5,.25,0 brown
        // 1,1,.1   yellow
        // .7,0,.7  purple
    }
}

 

Comments (0)

You don't have permission to comment on this page.