ソラマメブログ › Golden Fish › LSL  › 建造の制御

2008年10月01日

建造の制御

このスクリプトをアクティブにすると、オブジェクトは最初にREZしたSIM以外のSIMにREZできなくなります。
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
//// Stay in sim!
//// creator Unknown
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////

//This script makes sure that your objects stay in the sim that they are created. You can't save an object to inventory and rez in in another sim while this script is active.

123//remove the 123 to be able to use this script. Just delete the numbers and make sure running in the lower left is checked and hit save.(123を取り除いて、このスクリプトを使用下ください。)

//Make sure you save a copy of this script and all others in this package before removing the 123.default
{
state_entry()
{
llSetStatus(STATUS_DIE_AT_EDGE,TRUE);
vector INITCorner = llGetRegionCorner();
while(TRUE)
{
if(llGetRegionCorner() != INITCorner)
{
llDie();
}
}
}
}


Posted by Kingyo at 22:25│Comments(0)LSL
 
<ご注意>
書き込まれた内容は公開され、ブログの持ち主だけが削除できます。