Difference between revisions of "LlSetSoundQueueing/fr"
Jump to navigation
Jump to search
(proofreading) |
(started updating the translation) |
||
Line 1: | Line 1: | ||
{{LSL_Function/boolean/fr|queue|fd= | {{Issues/SVC-4260}}{{LSL_Function/boolean/fr|queue|pd=mise en attente du son:|fd=désactive (défaut)|bool=*}} | ||
{{LSL_Function/fr | {{LSL_Function/fr | ||
|func_id=208|func_sleep=0.0|func_energy=10.0 | |func_id=208|func_sleep=0.0|func_energy=10.0 | ||
|func=llSetSoundQueueing | |func=llSetSoundQueueing | ||
|p1_type=integer|p1_name=queue | |p1_type=integer|p1_name=queue | ||
|func_footnote | |func_footnote | ||
|func_desc= | |func_desc=Set whether attached sounds wait for the current sound to finish. If '''queue''' is [[TRUE]], queuing is enabled, if [[FALSE]] queuing is disabled. Sound queuing is disabled by default. | ||
|return_text | |return_text | ||
|spec | |spec | ||
|caveats | |caveats= | ||
*It appears that only two sounds can be queued per prim. [[#SVC-4260|SVC-4260]] | |||
*Sound queuing is a property of the prim, not the script. It can be activated and deactivated by any script in the prim and survives script reset, rerez and script removal. | |||
*If used to make smooth transitions using slave/master sounds the sounds tend to go out of sync. | |||
|constants | |constants | ||
|examples | |examples= | ||
<lsl> | |||
default | |||
{ | |||
state_entry() | |||
{ | |||
llPreloadSound("SoundName1");//This loads the sounds into all in range viewers and cuts delay between sounds. | |||
llPreloadSound("SoundName2");//All sound parameters can be the name of a sound in the prim's inventory or a UUID of a sound"); | |||
} | |||
touch_start(integer detected) | |||
{ | |||
llSetSoundQueueing(TRUE);//Set to TRUE for queueing and SoundName2 plays after the SoundName1 has ended. | |||
//Set to FALSE only the second will be played since the prim has only one sound emmiter and the second was called last. | |||
//Can be set anywhere withing the script (if within an event it will activate when the event is triggered. | |||
llPlaySound("SoundName1", 1.0); | |||
llPlaySound("SoundName2", 1.0); | |||
} | |||
} | |||
</lsl> | |||
|helpers | |helpers | ||
|also_functions | |also_functions={{LSL DefineRow||[[llLoopSound/fr]]}} | ||
{{LSL DefineRow||[[llLoopSoundSlave/fr]]|3=Joue un son en mode {{HoverText|attaché|Le son se déplace avec la prim}}.}} | |||
|also_tests | |also_tests | ||
|also_events | |also_events | ||
Line 18: | Line 40: | ||
|notes | |notes | ||
|cat1=Sound/fr | |cat1=Sound/fr | ||
|cat2 | |cat2=Prim/fr | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 08:08, 22 January 2011
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: llSetSoundQueueing( integer queue );208 | N° de fonction |
0.0 | Delais |
10.0 | Energie |
Set whether attached sounds wait for the current sound to finish. If queue is TRUE, queuing is enabled, if FALSE queuing is disabled. Sound queuing is disabled by default.
• integer | queue | – | boolean, mise en attente du son: TRUE activé, FALSE désactive (défaut) |
Avertissements
- It appears that only two sounds can be queued per prim. SVC-4260
- Sound queuing is a property of the prim, not the script. It can be activated and deactivated by any script in the prim and survives script reset, rerez and script removal.
- If used to make smooth transitions using slave/master sounds the sounds tend to go out of sync.
Exemples
<lsl> default {
state_entry() { llPreloadSound("SoundName1");//This loads the sounds into all in range viewers and cuts delay between sounds. llPreloadSound("SoundName2");//All sound parameters can be the name of a sound in the prim's inventory or a UUID of a sound"); } touch_start(integer detected) { llSetSoundQueueing(TRUE);//Set to TRUE for queueing and SoundName2 plays after the SoundName1 has ended. //Set to FALSE only the second will be played since the prim has only one sound emmiter and the second was called last. //Can be set anywhere withing the script (if within an event it will activate when the event is triggered. llPlaySound("SoundName1", 1.0); llPlaySound("SoundName2", 1.0); }
} </lsl>
Voir également
Fonctions
• | llLoopSound/fr | |||
• | llLoopSoundSlave/fr | – | Joue un son en mode attaché. |
Notes avancées
Problèmes
SVC-4260 | A | Since llSetSoundQueueing only allows two sounds to be played in queue can it be changed to allow more? |
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.