aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl
blob: 4c2d3979f6441c949e57290211003640240c37fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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");
    }
}