CHANGED PERMISSIONS
Revision as of 03:50, 5 September 2012 by Zedgehog Dirval (talk | contribs) (Created page with "{{LSL Constant |inject-1={{LSL_Generic/request{{#var:lang}}}} |name=CHANGED_PERMISSIONS |type=integer |value=?x??? |desc=The object permissions have changed. This event is trigge…")
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
LSL Feature Request | |
The described constant does not exist. This article is a feature request. |
Description
Constant: integer CHANGED_PERMISSIONS = ?x???;The integer constant CHANGED_PERMISSIONS has the value ?x???
The object permissions have changed. This event is triggered in all prims when a root object permission mask has changed.
Caveats
Related Articles
Examples
<lsl>default {
changed(integer change) { if (change & CHANGED_PERMISSIONS) //Note that it's & and not &&... it's bitwise! { llOwnerSay("The object permissions have changed."); } }
}</lsl>