Experience permissions

From Second Life Wiki
Revision as of 14:18, 24 August 2022 by Gwyneth Llewelyn (talk | contribs) (Replaced <source> with <syntaxhighlight>)
(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

Caveats


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 );