State exit/ja

From Second Life Wiki
< State exit
Revision as of 14:49, 16 May 2008 by Asuka Neely (talk | contribs) (New page: {{LSL_Event/ja |event_id=1|event_delay|event=state_exit |event_desc=ステート変移に限定して作動します。 |constants |spec |caveats |examples=<lsl>default { ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

説明

イベント: state_exit( ){ ; }

ステート変移に限定して作動します。


サンプル

<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の関連した項目が参考になるかもしれません。