CHANGED_ALLOWED_DROP
constant
Constant
integer CHANGED_ALLOWED_DROP = 0x40;Object inventory changed because a user other than the owner (or the owner if the object is no-mod) added an item. This is only possible if enabled via llAllowInventoryDrop.
Constant groups
Other ChangeType values (12)
CHANGED_COLOR0x2CHANGED_INVENTORY0x1CHANGED_LINK0x20CHANGED_MEDIA0x800CHANGED_OWNER0x80CHANGED_REGION0x100CHANGED_REGION_START0x400CHANGED_RENDER_MATERIAL0x1000CHANGED_SCALE0x8CHANGED_SHAPE0x4CHANGED_TELEPORT0x200CHANGED_TEXTURE0x10
A user other then the owner (or the owner if the object is no-mod) has added inventory to the prim. This is only possible if enabled with llAllowInventoryDrop.
Examples
Section titled “Examples”Example 1
default{ state_entry() { llAllowInventoryDrop(TRUE); // With this set to FALSE the drop (on a no mod object) will not be allowed. } // This means the allowance may be revoked by use of llAllowInventoryDrop(FALSE). changed(integer change) { if (change & CHANGED_ALLOWED_DROP) // note that it's & and not &&... it's bitwise! { 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."); } }}See also
Section titled “See also”Constants
Section titled “Constants”Functions
Section titled “Functions”Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.