OsAdjustSoundVolume
From OpenSimulator
(Difference between revisions)
(Created) |
Revision as of 07:47, 4 November 2018
osAdjustSoundVolume(LSL_Integer linknum, LSL_Float volume)
| |
Adjust the volume of attached sound for a prim in a linkset. | |
Threat Level | This function does not do a threat level check |
Permissions | Use of this function is always allowed by default |
Extra Delay | 0.1 seconds |
Example(s) | |
// Example use of osAdjustSoundVolume integer which_prim = 2; default { state_entry() { llListen(10, "", llGetOwner(), ""); } listen(integer channel, string name, key id, string msg) { float volume = (float)msg; llAdjustSoundVolume(volume); llOwnerSay("Volume in prim " + (string)which_prim + " was set to " + (string)volume); } } | |
Notes | |
This function was added in 0.9.0.1 |