LlAdjustSoundVolume/fr

From Second Life Wiki
< LlAdjustSoundVolume
Revision as of 12:32, 17 March 2008 by Gally Young (talk | contribs) (Localized to french)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Fonction: llAdjustSoundVolume( float volume );

Ajuste le volume d'un son attaché.

• float volume entre 0.0 (silencieux) et 1.0 (fort) (0.0 <= volume <= 1.0)

Avertissements

  • Cette fonction fait dormir le script pendant 0.1 secondes.

Exemples

<lsl> 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");
   }

} </lsl>

Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.