< 2024年05月 >
S M T W T F S
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Profile
Frangi Bunny
Frangi Bunny
Hello, I'm Frangi Bunny. I'm a bunny, not a piggy.
I work for a small company called "Frangipani Garden" in Second Life.
I'm really busy everyday, but I like what I do.
I think I'll open a daily record of my work.

こんにちは!私フランジバニー。言っとくけどブタじゃなくってウサギなんだからね!フランジパニガーデンという会社で毎日忙しく働いてるの。業務日誌、公開中。
Categories
Hammy (1)
Archives
Send message
free counters

2010年09月15日

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

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ちゃんの所に持って行くようにって。
カフェのモーニングセットに使うみたいだよ。余った分は私が食べてもいいんだって!
う~ん、いいにおい。嬉しいなぁ。
ブタでも簡単スクリプト!Hovering Text
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をクリックして新規スクリプトを作成だよ。
ブタでも簡単スクリプト!Hovering Text
②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,1,1>, 1.0);
}
}

ブタでも簡単スクリプト!Hovering Text
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 <1,1,1>.

<1,1,1>= White, <0,0,0>= Black, <1,0,0>= Red,
<0,1,0>= Green, <0,0,1>=Blue, <1,0,1>= Purple,
<1,1,0>= Yellow, <1,0.5,0>= 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 は改行マークだよ。
③保存ボタンを押して、はい、出来あがり!簡単でしょ?

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

<1,1,1>は白、<0,0,0>は黒、<1,0,0>は赤、<0,1,0>は緑、<0,0,1>は青
<1,0,1>は紫、<1,1,0>は黄、<1,0.5,0>は橙 だよ。

メッセージのお尻に、改行の\nを、 \n \n \n \n こんな風にスペースを入れていくつかつけると、
表示されるメッセージの高さを調節できるよ。
ほら、 こんな風に。
ブタでも簡単スクリプト!Hovering Text
Everything is ready!

さて、準備オッケー!
ブタでも簡単スクリプト!Hovering Text
Now I'm going to deliver this croissant to yakko.
Do you want to have the croissants with me later?

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







Posted by Frangi Bunny at 20:10│Comments(1)
<%word_all_comments%>
(´゚ω゚):;*.':;ブッ
マジデ届けてくれるんだw
スゲェうれしいのだヾ(*ΦωΦ)ノ ヒャッホゥ
でも今日はお店お休みだからさ
明日にでもなのだ、ばにちゃん( ● ´ ー ` ● )
まってるのだ(*゚‐゚)
Posted by やこち at 2010年09月15日 22:57
※このブログではブログの持ち主が承認した後、コメントが反映される設定です。
上の画像に書かれている文字を入力して下さい
 
<ご注意>
書き込まれた内容は公開され、ブログの持ち主だけが削除できます。