Category:LSL Needs Example/fr

From Second Life Wiki
< Category:LSL Needs Example
Revision as of 21:25, 13 April 2009 by SignpostMarv Martin (talk | contribs) (categorized category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.