LlAdjustSoundVolume
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Summary
Function: llAdjustSoundVolume( float volume );| 207 | Function ID |
| 0.1 | Delay |
| 10.0 | Energy |
Adjusts volume of attached sound.
| • float | volume | – | between 0.0 (silent) and 1.0 (loud) (0.0 <= volume <= 1.0) |
Examples
default { state_entry() { llListen(42, "", llGetOwner(), ""); } listen(integer chan, string name, key id, string msg) { float value = (float)msg; llAdjustSoundVolume(value); llOwnerSay("Volume set to: " + (string)value + " of 1.0"); } }
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

