Changed/ja
From Second Life Wiki
| |||||||||||||||||||||||||||||||||
例default { changed(integer change) { if (change & CHANGED_INVENTORY) //これは&であり&&ではなく、ビット演算です! { llOwnerSay("The inventory has changed."); } if (change & CHANGED_COLOR) //これは&であり&&ではなく、ビット演算です! { llOwnerSay("The color or alpha changed."); } if (change & CHANGED_SHAPE) //これは&であり&&ではなく、ビット演算です! { llOwnerSay("The prims shape has changed."); } if (change & CHANGED_SCALE) //これは&であり&&ではなく、ビット演算です! { llOwnerSay("The prims size has changed."); } if (change & CHANGED_TEXTURE) //これは&ではなく&&であり、ビット演算です! { llOwnerSay("The prims texture or texture attributes have changed."); } if (change & CHANGED_LINK) //これは&であり&&ではなく、ビット演算です! { llOwnerSay("The number of links have changed."); } if (change & CHANGED_ALLOWED_DROP) //これは&であり&&ではなく、ビット演算です! { llOwnerSay("The inventory has changed as a result of a user without mod permissions dropping an item on the prim and it being allowed by the script."); } if (change & CHANGED_OWNER) //これは&であり&&ではなく、ビット演算です! { llOwnerSay("The owner of the object has changed."); } if (change & CHANGED_REGION) //これは&であり&&ではなく、ビット演算です! { llOwnerSay("The region the object is in has changed."); } if (change & CHANGED_TELEPORT) //これは&であり&&ではなく、ビット演算です! { llOwnerSay("The object has been teleported while attached."); } } } |

