Difference between revisions of "Hello Avatar/fr"
Jump to navigation
Jump to search
m |
(linking to french wikipedia article) |
||
Line 1: | Line 1: | ||
{{multi-lang}} | {{multi-lang}} | ||
{{LSL Header/fr|ml=*}} | {{LSL Header/fr|ml=*}} | ||
Le script suivant contient le code par défaut placé dans tout nouveau script. Il dit "Hello, Avatar!" (bonjour avatar)quand il est sauvegardé ou réinitialisé, il dit également "''Touched.''" (touché)quand l'objet qui le contient est touché. Cela en fait la représentation LSL du célèbre [http:// | Le script suivant contient le code par défaut placé dans tout nouveau script. Il dit "Hello, Avatar!" (bonjour avatar)quand il est sauvegardé ou réinitialisé, il dit également "''Touched.''" (touché)quand l'objet qui le contient est touché. Cela en fait la représentation LSL du célèbre [http://fr.wikipedia.org/wiki/Hello_world Hello world program]. | ||
<lsl> | <lsl> | ||
default | default |
Latest revision as of 19:07, 22 November 2008
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Le script suivant contient le code par défaut placé dans tout nouveau script. Il dit "Hello, Avatar!" (bonjour avatar)quand il est sauvegardé ou réinitialisé, il dit également "Touched." (touché)quand l'objet qui le contient est touché. Cela en fait la représentation LSL du célèbre Hello world program. <lsl> default {
state_entry() { llSay(0, "Hello, Avatar!"); }
touch_start(integer total_number) { llSay(0, "Touched."); }
} </lsl>