llAllowInventoryDrop(integer add)
If
add is
true, all users, even those who do not have modify
permissions, can drop inventory items onto the object. If
add is
false the system forbids all users except those with modify permissions from dropping items onto the object.
The
changed event handler is called with the
CHANGED_ALLOWED_DROP flag when an item is dropped onto the object by a user that does not have modify permission.
CHANGED_INVENTORY is passed to
changed if someone with modify permission dropped the item.
To drop an inventory item onto/into an object, hold the Control key while dragging any inventory item onto the object (the object you're about to drop your item onto will be highlighted with a red frame). But for
notecard drop, there is no need to hold the control key. Just drag and drop your notecard on which the object will be highlighted with a white frame.
The exception are scripts, attempting to drop a script onto an object which allows inventory drops will cause the object to shout "Not permitted to edit this!".
- Really, it shouts this? Isn't that... insane? -- Catherine
- Heh, very much so, it does this also when using Tools > Save Object Back Into Object Contents :-\ -- Chris
- The exception to the exception is if the scripts are given from one object to another via llGiveInventory, which transfer the scripts in a non-running state -DragonEccleston
Functions /
Inventory