Difference between revisions of "CHANGED ALLOWED DROP"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
default | default | ||
{ | { | ||
changed(integer change) | changed(integer change) | ||
{ | { | ||
if (change & CHANGED_ALLOWED_DROP) //note that it's & and not &&... it's bitwise! | if (change & CHANGED_ALLOWED_DROP) //note that it's & and not &&... it's bitwise! |
Revision as of 19:09, 6 March 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer CHANGED_ALLOWED_DROP = 0x40;The integer constant CHANGED_ALLOWED_DROP has the value 0x40
A user other then the owner (or the owner if the object is no-mod) has added inventory to the prim.
Caveats
Related Articles
Examples
default { 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."); } } }