ブタでも簡単スクリプト!Hovering Text

Frangi Bunny

2010年09月15日 20:10


Hello, I'm Frangi Bunny. I work for *Frangipani Garden*.
Look at the heap of croissants from my boss staying in Paris!
I'm under orders from my boss to deliver them to yakko, who runs a cafe at Ocean Blue Sim. I guess she is going to serve breakfast with a croissant.
My boss told me that I can have all the rest after I delivered them.
Oh, it smells so sweet, I'm so happy!

こんにちは!私フランジバニー。フランジパニガーデンの社員です。
見て、このクロワッサンの山。社長がパリから送ってくれたの。
オーシャンブルーでカフェを経営するyakkoちゃんの所に持って行くようにって。
カフェのモーニングセットに使うみたいだよ。余った分は私が食べてもいいんだって!
う~ん、いいにおい。嬉しいなぁ。

Well, I need to put a hovering message on the croissant using a script.
I'll show you how it works. First, rezz the object that is modifyable.
①Click on the object and select "edit". you'll see the edit window.
Then select "Content" tab and click "New script" button. You'll see "New script".

さてと、まずは贈答用のメッセージを入れないとね!スクリプトっていうのを使うんだよ。
教えてあげるね!まず、編集可の贈答用のオブジェクトを用意してね。
①それを右クリックで編集用の窓を出して、New scriptをクリックして新規スクリプトを作成だよ。

②Double-click on "New script", an edit window will pop up. You'll see the text in it.
Then delete it all, and copy & paste the text below.

②このNew scriptをダブルクリックで開くと中に何か書いてあるから、それを全部削除して、以下のテキストをコピー&ペーストだよ。

default
{
state_entry()
{
llSetText("yakkoちゃんへ\n*Frangipani Garden*より\n \n \n \n", , 1.0);
}
}


Rewrite the message between " and ".
" \n " middle of the message is for begin on a new line.
③Click "Save" button. Done! It's so easy, no?
If you want to change the text color, rewrite the part of .

= White, = Black, = Red,
= Green, =Blue, = Purple,
= Yellow, = Orange.

You can change the height of the hovering text above the object,
adding some " \n " with the space at the end of the message.
Just like this, " \n \n \n \n ". See the pic below.

------------------------------------------------------------------------------

" " の間のメッセージのところを自分の好きなメッセージに書き換えてね。
メッセージの途中に入っている \n は改行マークだよ。
③保存ボタンを押して、はい、出来あがり!簡単でしょ?

文字の色を変えたいときは、 ってところを書き換えるんだよ。

は白、は黒、は赤、は緑、は青
は紫、は黄、は橙 だよ。

メッセージのお尻に、改行の\nを、 \n \n \n \n こんな風にスペースを入れていくつかつけると、
表示されるメッセージの高さを調節できるよ。
ほら、 こんな風に。

Everything is ready!

さて、準備オッケー!

Now I'm going to deliver this croissant to yakko.
Do you want to have the croissants with me later?

じゃあ、ちょっとyakkoちゃんのところにクロワッサンを届けに行ってくるね。
あとで一緒にクロワッサン食べようね!