CHANGED REGION/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 CHANGED_REGION = 0x100;

integer 定数 CHANGED_REGION の値は 0x100 です。

装着されたオブジェクトの地域が、テレポートまたは地域の境界線を越えたために変更されました。このイベントはアタッチメントのルートプリムでのみ発生します。このイベントはアタッチメントの子プリムでは発生せず、装着されておらず地域を横切ったオブジェクトでも発生しません。

関連記事

関数

•  llGetRegionName

イベント

•  changed

サンプル

default
{
    changed(integer change)
    {
        if (change & CHANGED_REGION) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The region the object is in has changed.");
        }
    }
}

特記事項

この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)