LlGetParcelMaxPrims/ja

From Second Life Wiki
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.

要約

関数: integer llGetParcelMaxPrims( vector pos, integer sim_wide );

pos のパーセル上で許可されるプリムの最大数を integer で返します。

• vector pos リージョン構成 (Z要素は無視されます)
• integer sim_wide Boolean

仕様

sim_wide が...

  • FALSE の場合、パーセルでのサポートされる最大プリム数を返します。
  • FALSE ではない場合、パーセルオーナーによって所有される地域内の全ての土地でサポートされるプリム数を返します。

サンプル

default
{
    touch_start(integer total_number)
    {
        llSay(0, "There are " + (string)llGetParcelPrimCount(llGetPos(), PARCEL_COUNT_TOTAL, FALSE) +" of "
             +(string)llGetParcelMaxPrims(llGetPos(), FALSE) + " prims rezzed on this parcel");
    }
}

関連項目

関数

•  llGetParcelPrimCount

特記事項

Search JIRA for related Issues

Signature

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