Difference between revisions of "LlResetTime/ja"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL_Function/ja |func_id=83|func_sleep=0.0|func_energy=10.0 |func=llResetTime |func_desc=スクリプト時間を0に初期化します。 |return_text |spec |caveats= *スクリプト...)
 
m (カテゴリ変更)
Line 30: Line 30:
|also
|also
|notes
|notes
|cat1=Time
|cat1=Time/ja
|cat2=Script
|cat2=Script/ja
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 07:15, 10 April 2010

要約

関数: llResetTime( );

スクリプト時間を0に初期化します。

警告

  • スクリプト時間が初期化されるタイミング
All Issues ~ Search JIRA for related Bugs

サンプル

<lsl> 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>

関連項目

関数

•  llGetTime
•  llGetAndResetTime

特記事項

Search JIRA for related Issues

Signature

function void llResetTime();
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。