ll.LinkPlaySound(LinkNumber: number, Sound: string, Volume: number, Flags: number) : ()
Plays Sound, once or looping, at Volume (0.0 - 1.0). The sound may be attached to the link or triggered at its location. Only one sound may be attached to an object at a time, and attaching a new sound or calling llStopSound will stop the previously attached sound.
ll.LinkPlaySound(
9,
'test',
3.14,
12
)
{
"def": "func",
"desc": "Plays Sound, once or looping, at Volume (0.0 - 1.0). The sound may be attached to the link or triggered at its location.\nOnly one sound may be attached to an object at a time, and attaching a new sound or calling llStopSound will stop the previously attached sound.",
"energy": 10,
"sleep": 0,
"pure": false,
"link": "https://wiki.secondlife.com/wiki/LlLinkPlaySound",
"name": "LinkPlaySound",
"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": "Sound",
"desc": "",
"type": [
"string"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Volume",
"desc": "",
"type": [
"number"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Flags",
"desc": "",
"type": [
"integer",
"number"
],
"variadic": false,
"optional": false
}
]
}
]
}