Skip to content
lsl.devlsl.devLSL Dev

CHANGED PERMISSIONS

Wiki description

The object permissions have changed. This event is triggered in all prims when a root object permission mask has changed.
SCR-411: CHANGED_PERMISSIONS new feature request.

Examples

default
{
    changed(integer change)
    {
        if (change & CHANGED_PERMISSIONS) //Note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The object permissions have changed.");
        }
    }
}

See also: functions

See also: events

Shared wiki helpers

The original page also injects shared parameter notes, caveats or issue information through these helpers. Their conditional MediaWiki logic is not reproduced here; inspect the preserved helper source for additional material.

Template:LSL Generic/requestvar:lang

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.