ll.LinkSitTarget

ll.LinkSitTarget(LinkNumber: number, Offset: vector, Rotation: quaternion) : ()

Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it. Set the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation.

Example

ll.LinkSitTarget(5, vector(1,1,1), quaternion(0,0,0,1))
{
  "def": "func",
  "desc": "Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.\nSet the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlLinkSitTarget",
  "name": "LinkSitTarget",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "LinkNumber",
          "desc": "Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag of the prim.",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Offset",
          "desc": "Position for the sit target, relative to the prim's position.",
          "type": [
            "vector"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Rotation",
          "desc": "Rotation (relative to the prim's rotation) for the avatar.",
          "type": [
            "quaternion"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll