ll.CollisionSound

ll.CollisionSound (ImpactSound: string, ImpactVolume: number) -> ()

Suppress default collision sounds, replace default impact sounds with ImpactSound. The ImpactSound must be in the object inventory. Supply an empty string to suppress collision sounds.

Example

ll.CollisionSound('test', 3.14)
Raw function spec json
{
  "def": "func",
  "desc": "Suppress default collision sounds, replace default impact sounds with ImpactSound.\nThe ImpactSound must be in the object inventory.\nSupply an empty string to suppress collision sounds.",
  "energy": 10,
  "sleep": 0,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlCollisionSound",
  "private": false,
  "takesSelf": false,
  "name": "CollisionSound",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "()"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ImpactSound",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "string"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "ImpactVolume",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll