ll.LoopSoundMaster

ll.LoopSoundMaster(Sound: string, Volume: number) : ()

Plays attached Sound, looping at volume (0.0 - 1.0), and declares it a sync master. Behaviour is identical to llLoopSound, with the addition of marking the source as a "Sync Master", causing "Slave" sounds to sync to it. If there are multiple masters within a viewers interest area, the most audible one (a function of both distance and volume) will win out as the master. The use of multiple masters within a small area is unlikely to produce the desired effect.

Example

ll.LoopSoundMaster('test', 3.14)
{
  "def": "func",
  "desc": "Plays attached Sound, looping at volume (0.0 - 1.0), and declares it a sync master.\nBehaviour is identical to llLoopSound, with the addition of marking the source as a \"Sync Master\", causing \"Slave\" sounds to sync to it. If there are multiple masters within a viewers interest area, the most audible one (a function of both distance and volume) will win out as the master.\nThe use of multiple masters within a small area is unlikely to produce the desired effect.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlLoopSoundMaster",
  "name": "LoopSoundMaster",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Sound",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Volume",
          "desc": "",
          "type": [
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll