OpenSimMirror/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl

14 lines
293 B
Plaintext
Raw Normal View History

2008-02-23 03:09:48 +00:00
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");
}
}