State exit/ja
Jump to navigation
Jump to search
| LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
サンプル
<lsl>default {
state_entry()
{
llOwnerSay("in default state");
}
touch_start(integer detected)
{
state other;
}
state_exit()
{
llOwnerSay("leaving default state");
}
}
state other {
state_entry()
{
llOwnerSay("in state \"other\"");
}
touch_start(integer detected)
{
state default;
}
state_exit()
{
llOwnerSay("leaving state \"other\"");
}
}</lsl>
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。