LlAdjustSoundVolume/fr
From Second Life Wiki
| Portail LSL | | | Fonctions | | | Évènements | | | Types | | | Opérateurs | | | Constantes | | | Contrôle d'exécution | | | Bibliothèque de scripts | | | Tutoriels |
Contents |
Description
Fonction: llAdjustSoundVolume( float volume );| 207 | N° de fonction |
| 0.1 | Délai |
| 10.0 | Energie |
Ajuste le volume du son attaché.
| • float | volume | – | entre 0.0 (silencieux) et 1.0 (fort) (0.0 <= volume <= 1.0) |
Exemples
default { state_entry() { llListen(42, "", llGetOwner(), ""); } listen(integer chan, string name, key id, string msg) { float value = (float) msg; llAdjustSoundVolume(value); llOwnerSay("Volume : " + (string) value + " / 1.0"); } }

