ll.SetObjectPermMask

ll.SetObjectPermMask(PermissionFlag: number, PermissionMask: number) : ()

Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to.

Example

ll.SetObjectPermMask(4, 5)
{
  "def": "func",
  "desc": "Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlSetObjectPermMask",
  "name": "SetObjectPermMask",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "PermissionFlag",
          "desc": "MASK_* flag",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "PermissionMask",
          "desc": "Permission bit-field (PERM_* flags)",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll