LlResetTime/ja

From Second Life Wiki
Revision as of 19:01, 21 May 2008 by Asuka Neely (talk | contribs) (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= *スクリプト...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

要約

関数: llResetTime( );

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

警告

  • スクリプト時間が初期化されるタイミング

サンプル

<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 Canny for related Issues

Signature

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