LlResetTime/ja
From Second Life Wiki
メインページ > LlResetTime > LlResetTime/ja
警告
- スクリプト時間が初期化されるタイミング
- スクリプトをリセットする。(ユーザによる操作、あるいはllResetScriptあるいはllResetOtherScript)
- シミュレータのリセット。(管理者操作、あるいはクラッシュ)
- llResetTimeあるいはllGetAndResetTimeのいずれかの呼び出し。
例
default { state_entry() { llResetTime(); } touch_start(integer num_touch) { float time = llGetTime(); //Instead getting, and then resetting the time, we could use llGetAndReset() to accomplish the same thing. llResetTime(); llSay(0,(string)time + " seconds have elapsed since the last touch." ); } }
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。

