LlAdjustSoundVolume/fr: Difference between revisions
Jump to navigation
Jump to search
Gally Young (talk | contribs) Localized to french |
m Big proofreading |
||
| Line 6: | Line 6: | ||
|p1_type=float|p1_name=volume | |p1_type=float|p1_name=volume | ||
|func_footnote | |func_footnote | ||
|func_desc=Ajuste le '''volume''' | |func_desc=Ajuste le '''volume''' du son attaché. | ||
|return_text | |return_text | ||
|spec | |spec | ||
| Line 22: | Line 22: | ||
listen(integer chan, string name, key id, string msg) | listen(integer chan, string name, key id, string msg) | ||
{ | { | ||
float value = (float)msg; | float value = (float) msg; | ||
llAdjustSoundVolume(value); | llAdjustSoundVolume(value); | ||
llOwnerSay("Volume : " + (string)value + " / 1.0"); | llOwnerSay("Volume : " + (string) value + " / 1.0"); | ||
} | } | ||
} | } | ||
Revision as of 01:14, 5 April 2008
| LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: llAdjustSoundVolume( float volume );| 207 | N° de fonction |
| 0.1 | Delais |
| 10.0 | Energie |
Ajuste le volume du 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.