From 35b0c2e9dfbbf811c12c9e3e7d4359a13b987977 Mon Sep 17 00:00:00 2001 From: Brian McBee Date: Mon, 7 Jan 2008 01:03:46 +0000 Subject: More inventory work for CharlieO. Final patch to make it all work yet to come. --- bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl (limited to 'bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl') 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 @@ +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"); + } +} -- cgit v1.1