2009年9月1日火曜日

/Floating text llSetText

default
{
    state_entry()
    {
        llAllowInventoryDrop(TRUE);
        llSetText("Touch me \n Freebie \n LISA+SMILE+", <1,1,1>, 1.5);
       
    }
}

2 件のコメント:

  1. // Customizing the script:
    // Change the text inside of "Touch me \n Freebie \n LISA+SMILE+" to whatever you please.
    // The <1,1,1> is the color the text will show in Float form, 1.0,1.0,1.0
    // being WHITE while, 0.0, 0.0, 0.0 is BLACK this is all in RGB (Red, Green, Blue).
    // experiement with combinations to get different colors.
    // The 1 at the end sets the text's transparency, 1.0 being SOLID, while 0 would be clear,
    // and .5 would be half way between clear and solid.

    返信削除
  2. 改行は "/n"
    ■<0.0,0.0,0.0>Black
    ■<0.0,0.0,1.0>Blue
    ■<0.0,1.0,0.0>Green
    ■<0.0,1.0,1.0>Aqua
    ■<1.0,0.0,0.0>Red
    ■<1.0,0.0,1.0>Fuchsia
    ■<1.0,1.0,0.0>Yellow
    □<1.0,1.0,1.0>White
    3番目は透明度。0にすると見えません。

    返信削除