Attempt to link the object the script is in, to target (requires permission PERMISSION_CHANGE_LINKS be set). Requires permission PERMISSION_CHANGE_LINKS be set.

Example

ll.CreateLink(uuid(<key>), 3.14)
Raw function spec json
{
  "def": "func",
  "desc": "Attempt to link the object the script is in, to target (requires permission PERMISSION_CHANGE_LINKS be set).\nRequires permission PERMISSION_CHANGE_LINKS be set.",
  "energy": 10,
  "sleep": 0.1,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlCreateLink",
  "private": false,
  "takesSelf": false,
  "name": "CreateLink",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "()"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "TargetPrim",
          "desc": "Object UUID that is in the same region.",
          "type": [
            {
              "def": "simple",
              "value": "uuid"
            },
            {
              "def": "simple",
              "value": "string"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Parent",
          "desc": "If FALSE, then TargetPrim becomes the root. If TRUE, then the script's object becomes the root.",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll