CHANGED PERMISSIONS

From Second Life Wiki
Revision as of 04:59, 5 September 2012 by Zedgehog Dirval (talk | contribs)
Jump to navigation Jump to search
Emblem-important-yellow.png 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

Functions

•  llGetObjectPermMask

Events

•  changed

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>

Deep Notes

All Issues

~ Search JIRA for related Issues
   CHANGED_PERMISSIONS new feature request.

Signature

//integer CHANGED_PERMISSIONS = ?x???;