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)
{
  "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,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlCollisionSound",
  "name": "CollisionSound",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ImpactSound",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "ImpactVolume",
          "desc": "",
          "type": [
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll