CHANGED PERMISSIONS

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Emblem-important-yellow.png LSL Feature Request
The described constant does not exist. This article is a feature request.

Description

Constant: integer CHANGED_PERMISSIONS = 0x???;

The integer constant CHANGED_PERMISSIONS has the value 0x???

The object permissions have changed. This event is triggered in all prims when a root object permission mask has changed.

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 = 0x???;