Category:LSL Needs Example/fr

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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
}}

Pages in category "LSL Needs Example/fr"

The following 106 pages are in this category, out of 106 total.