aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl')
-rw-r--r--bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl b/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl
new file mode 100644
index 0000000..25e90c0
--- /dev/null
+++ b/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl
@@ -0,0 +1,13 @@
1default
2{
3 state_entry()
4 {
5 llListen(42, "", llGetOwner(), "");
6 }
7 listen(integer chan, string name, key id, string msg)
8 {
9 float value = (float)msg;
10 llAdjustSoundVolume(value);
11 llOwnerSay("Volume set to: " + (string)value + " of 1.0");
12 }
13}