Phantom Child/ja
Jump to navigation
Jump to search
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
| 重要 下のスクリプトはもう必要ありません。このページは記録のために残しています。代わりに、ファントム効果をつけたい子プリム全部の PRIM_PHYSICS_SHAPE_TYPE を PRIM_PHYSICS_SHAPE_NONE に設定してください。 |
Phantom Child (子プリムのファントム化)抜粋
<lsl>default {
state_entry() {
llSetPrimitiveParams([PRIM_FLEXIBLE, TRUE, 0,0,0,0,0,<0,0,0>]);
}
on_rez(integer s) {
llResetScript();
}
changed (integer change){
if (CHANGED_REGION_START & change)
llResetScript();
}
collision_start(integer n){
llResetScript();
}
}</lsl>