Skip to content

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/request

Original shared helper source (conditional wiki logic is not evaluated)
<noinclude>{{#vardefine:gr_text|<nowiki>{{#var:gr_text}}</nowiki>}}</noinclude>{{#if:{{#pos:{{#var:moded}}|r}}||{{#if:
{{#vardefine:func_id|REQUEST}}
{{#vardefine:header|
{{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1"
{{!}} valign="top" rowspan="2" style="background:#F9F9F9;" {{!}} [[Image:Emblem-important-yellow.png]]
{{!}} style="color:white;background:#990000; border-width:1px;" width="100%" {{!}} '''LSL Feature Request'''
{{!}}-
{{!}} style="background:#F9F9F9;" {{!}} ''The described {{#if:{{#var:article_type}}|{{#var:article_type}}|{{#if:{{{type|}}}|{{{type|}}}|<nowiki>{{#var:article_type}}</nowiki>}}}} does not exist. This article is a feature request.''
{{#if:{{{jira|}}}|''See: {{Jira|{{{jira}}}}}''<br/>}}{{#var:gr_text}}{{{text|}}}
{{!}}} <includeonly>{{#if:{{#var:self}}|| {{LSLC|WishList{{#var:lang}}|{{#var:sort}}}} }}</includeonly>
{{#var:header}}}}
}}{{#vardefine:moded|r{{#var:moded}}}}}}<noinclude>{{#var:header}}</noinclude>
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.