|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
Asks the agent for permission to participate in an experience.
|• key||agent||–||Key of the agent to request permissions from|
|• string||name||–||Deprecated, no longer used|
This request is similar to llRequestPermissions with all the following permissions: PERMISSION_TAKE_CONTROLS, PERMISSION_TRIGGER_ANIMATION, PERMISSION_ATTACH, PERMISSION_TRACK_CAMERA, PERMISSION_CONTROL_CAMERA and PERMISSION_TELEPORT. However, unlike llRequestPermissions, the decision to allow or block the request is persistent and applies to all scripts using the experience grid-wide.
Subsequent calls to llRequestExperiencePermissions from scripts in the experience will receive the same response automatically with no user interaction.
Agents in god mode and estate managers will always see the permission dialog even if the experience has been previously approved.
Outstanding permission requests will be lost if the script is de-rezzed, moved to another region, or reset.
function void llRequestExperiencePermssions( key agent, string name );