ll.LinkSetSoundRadius

ll.LinkSetSoundRadius(LinkNumber: number, radius: number) : ()

Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius around the link.

Example

ll.LinkSetSoundRadius(5, 3.14)
{
  "def": "func",
  "desc": "Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius around the link.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlLinkSetSoundRadius",
  "name": "LinkSetSoundRadius",
  "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",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "radius",
          "desc": "Maximum distance that sounds can be heard.",
          "type": [
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll