diff options
author | Jeff Ames | 2008-01-26 10:34:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-01-26 10:34:49 +0000 |
commit | 20215c3d30fb55bf232bff1b3d6652d82e00b798 (patch) | |
tree | 19fce94014cafb1a235b3874b7bde8bc92767415 /bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl | |
parent | Removed ScriptServer.csproj from svn. (diff) | |
download | opensim-SC-20215c3d30fb55bf232bff1b3d6652d82e00b798.zip opensim-SC-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.gz opensim-SC-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.bz2 opensim-SC-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.xz |
Rewrote svn properties handling script in python. Added more file types.
Diffstat (limited to '')
-rw-r--r-- | bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl b/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl index 25e90c0..4c2d397 100644 --- a/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl +++ b/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl | |||
@@ -1,13 +1,13 @@ | |||
1 | default | 1 | default |
2 | { | 2 | { |
3 | state_entry() | 3 | state_entry() |
4 | { | 4 | { |
5 | llListen(42, "", llGetOwner(), ""); | 5 | llListen(42, "", llGetOwner(), ""); |
6 | } | 6 | } |
7 | listen(integer chan, string name, key id, string msg) | 7 | listen(integer chan, string name, key id, string msg) |
8 | { | 8 | { |
9 | float value = (float)msg; | 9 | float value = (float)msg; |
10 | llAdjustSoundVolume(value); | 10 | llAdjustSoundVolume(value); |
11 | llOwnerSay("Volume set to: " + (string)value + " of 1.0"); | 11 | llOwnerSay("Volume set to: " + (string)value + " of 1.0"); |
12 | } | 12 | } |
13 | } | 13 | } |