Phantom Child/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.

KBcaution.png 重要 下のスクリプトはもう必要ありません。このページは記録のために残しています。代わりに、ファントム効果をつけたい子プリム全部の PRIM_PHYSICS_SHAPE_TYPEPRIM_PHYSICS_SHAPE_NONE に設定してください。

Phantom Child (子プリムのファントム化)抜粋

<lsl>default {

   state_entry() {
       llSetPrimitiveParams([ // llSetLinkPrimitiveParamsFast(LINK_THIS, [   はもっと早くてもっと高いバイトコード
           PRIM_FLEXIBLE, TRUE, 0, 0.0, 0.0, 0.0, 0.0, ZERO_VECTOR]);
   }
   on_rez(integer s) {
       llResetScript();
   }
   changed (integer change){
       if (CHANGED_REGION_START & change)
           llResetScript();
   }
   collision_start(integer n){
       llResetScript();
   }

}</lsl>