LlGetSimulatorHostname/ja

From Second Life Wiki
< LlGetSimulatorHostname
Revision as of 19:55, 9 October 2008 by Asuka Neely (talk | contribs) (New page: {{LSL_Function/ja |func_id=283|func_sleep=10.0|func_energy=10.0 |func=llGetSimulatorHostname |return_type=string |func_footnote |func_desc |return_text=(ビューアヘルプダイアロ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

要約

関数: string llGetSimulatorHostname( );

(ビューアヘルプダイアログにある文字と同じ、)スクリプトが動いているマシンのホスト名を string で返します。

警告

  • この関数は 10.0 秒間、スクリプトを停止します。
All Issues ~ Search JIRA for related Bugs

サンプル

<lsl> // The beginnings of a region-info script. string region; string sim;

default {

   state_entry()
   {
       llSetTimerEvent(1.0);
   }
   timer()
   {
       string here = llGetRegionName();
       if(region != here)
       {
           sim = llGetSimulatorHostname();
           region = here;
       }
       llSetText(
               "   REGION NAME : " + region + 
             "\n  SIM HOSTNAME : " + sim + 
             "\nTIME DIALATION : " + (string)llGetRegionTimeDilation() +
             "\n    REGION FPS : " + (string)llGetRegionFPS(),
           <0,1,0>, 1.0);
   }

}

</lsl>

関連項目

関数

•  llGetRegionFPS リージョンFPSを取得します
•  llGetRegionTimeDilation リージョンの時間遅延を取得します

記事

•  Simulator IP Addresses

特記事項

Search JIRA for related Issues

Signature

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