ll.GetLinkNumber

ll.GetLinkNumber() : number

Returns the link number of the prim containing the script (0 means not linked, 1 the prim is the root, 2 the prim is the first child, etc.). Returns the link number of the prim containing the script. 0 means no link, 1 the root, 2 for first child, etc.

Example

ll.GetLinkNumber()
{
  "def": "func",
  "desc": "Returns the link number of the prim containing the script (0 means not linked, 1 the prim is the root, 2 the prim is the first child, etc.).\nReturns the link number of the prim containing the script. 0 means no link, 1 the root, 2 for first child, etc.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlGetLinkNumber",
  "name": "GetLinkNumber",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "number"
          ],
          "optional": false
        }
      ],
      "args": []
    }
  ]
}

< Back to ll