CHANGED PERMISSIONS

From Second Life Wiki
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…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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

Search JIRA for related Issues

Signature

//integer CHANGED_PERMISSIONS = ?x???;