Category:LSL Needs Example/fr
From Second Life Wiki
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
Les articles de cette catégorie nécessite la rédaction d'exemples. Pour réaliser cette opération, entrez une ligne "example=" suivi des lignes de scripts correspondantes.
Exemple: llFrand (l'ordre des paramètre est sans influence).
{{LSL_Function/fr
|sort=Frand
|func=llFrand
|func_id=8
|func_sleep=0.0
|func_energy=10.0
|p1_type=float
|p1_name=mag
|p1_desc=N'importe quel float valide
|return_type=float
|return_text=correspond à un nombre pseudo aléatoire compris dans [0.0,mag) ou (mag, 0.0].
|spec=Renvoie un nombre pseudo aléatoire compris dans [0.0,mag) ou (mag, 0.0], selon le signe de mag.
|caveats
|examples=<lsl>default
{
touch_start(integer total_number)
{
// quand touché, dis "Tete" avec une probabilité de 50%,
// Sinon dit "Queue"
if ( llFrand(1.) < .5)
llSay(0, "Tete");
else
llSay(0, "Queue");
}
}</lsl>
|func_helpers
|also
|notes=
|cat1=
|cat2
|cat3
}}
Articles in category "LSL Needs Example/fr"
There are 117 articles in this category.

