Experience permissions

From Second Life Wiki
Revision as of 06:12, 27 June 2020 by Panterapolnocy Resident (talk | contribs) (Adding an example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Event: experience_permissions( key agent_id ){ ; }

The agent has approved an experience permissions request. This may be through interaction with the experience permission dialog or the experience profile, or automatically if the agent has previously approved the experience.

• key agent_id avatar UUID approving permission

Examples

default
{
    touch_start(integer total_number)
    {
        llRequestExperiencePermissions(llDetectedKey(0), "");
    }

    experience_permissions(key agent_id)
    {
        llSay(0, "Experience permissions granted for " + (string)agent_id);
    }

    experience_permissions_denied(key agent_id, integer reason)
    {
        llSay(0, "Experience permissions denied for " + (string)agent_id + " due to reason #" + (string)reason);
    }
}

Deep Notes

Signature

event void experience_permissions( key agent_id );