Constants in the ScriptPermission flag set. These are flags and can be combined with bitwise OR.
integer PERMISSION_DEBIT = 0x00002; // Runtime permission that allows the script to successfully call llGiveMoney or llTransferLindenDollars to debit the owner's accountinteger PERMISSION_TAKE_CONTROLS = 0x00004; // Runtime permission that allows the script to successfully call the llTakeControls function to intercept the agent's controlsinteger PERMISSION_TRIGGER_ANIMATION = 0x00010; // Runtime permission that allows the script to start or stop animations on the agent (such as using llStartAnimation)integer PERMISSION_ATTACH = 0x00020; // Runtime permission that allows the script to successfully attach to or detach from the agent using llAttachToAvatarinteger PERMISSION_CHANGE_LINKS = 0x00080; // Runtime permission that allows the script to successfully create, break, or modify links to other objects using llCreateLink, llBreakLink, or llBreakAllLinksinteger PERMISSION_TRACK_CAMERA = 0x00400; // Runtime permission that allows the script to track the agent's camera position and rotationinteger PERMISSION_CONTROL_CAMERA = 0x00800; // Runtime permission that allows the script to control the agent's camerainteger PERMISSION_TELEPORT = 0x01000; // Runtime permission required to teleport the agent using the llTeleportAgent functioninteger PERMISSION_SILENT_ESTATE_MANAGEMENT = 0x04000; // Runtime permission that allows the script to manage estate access rules via llManageEstateAccess without notifying the object owner of the changesinteger PERMISSION_OVERRIDE_ANIMATIONS = 0x08000; // Runtime permission that allows the script to configure and override default animations on the agentinteger PERMISSION_RETURN_OBJECTS = 0x10000; // Runtime permission required to use the llReturnObjectsByID and llReturnObjectsByOwner functions to return objects from parcelsinteger PERMISSION_PRIVILEGED_LAND_ACCESS = 0x80000; // Runtime permission that grants the script privileged access to land parcel functions, which is required to use llSetParcelForSaleinteger PERMISSION_GAME_CONTROL = 0x100000;
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
PERMISSION_ATTACH | integer | 0x00020 | Runtime permission that allows the script to successfully attach to or detach from the agent using llAttachToAvatar. |
PERMISSION_CHANGE_LINKS | integer | 0x00080 | Runtime permission that allows the script to successfully create, break, or modify links to other objects using llCreateLink, llBreakLink, or llBreakAllLinks. |
PERMISSION_CONTROL_CAMERA | integer | 0x00800 | Runtime permission that allows the script to control the agent's camera. The agent must be sitting on or attached to the object, and permission is automatically revoked on standing up or detaching. |
PERMISSION_DEBIT | integer | 0x00002 | Runtime permission that allows the script to successfully call llGiveMoney or llTransferLindenDollars to debit the owner's account. |
PERMISSION_GAME_CONTROL | integer | 0x100000 | |
PERMISSION_OVERRIDE_ANIMATIONS | integer | 0x08000 | Runtime permission that allows the script to configure and override default animations on the agent. |
PERMISSION_PRIVILEGED_LAND_ACCESS | integer | 0x80000 | Runtime permission that grants the script privileged access to land parcel functions, which is required to use llSetParcelForSale. |
PERMISSION_RETURN_OBJECTS | integer | 0x10000 | Runtime permission required to use the llReturnObjectsByID and llReturnObjectsByOwner functions to return objects from parcels. |
PERMISSION_SILENT_ESTATE_MANAGEMENT | integer | 0x04000 | Runtime permission that allows the script to manage estate access rules via llManageEstateAccess without notifying the object owner of the changes. |
PERMISSION_TAKE_CONTROLS | integer | 0x00004 | Runtime permission that allows the script to successfully call the llTakeControls function to intercept the agent's controls. |
PERMISSION_TELEPORT | integer | 0x01000 | Runtime permission required to teleport the agent using the llTeleportAgent function. |
PERMISSION_TRACK_CAMERA | integer | 0x00400 | Runtime permission that allows the script to track the agent's camera position and rotation. |
PERMISSION_TRIGGER_ANIMATION | integer | 0x00010 | Runtime permission that allows the script to start or stop animations on the agent (such as using llStartAnimation). |
Used by
llRequestPermissionsfunctionRequests permissions (a bitfield specified by permissions) from the agent in the same region, calling run_time_permissions if granted. This call does not pause script execution.