Hello Avatar/fr: Difference between revisions
Jump to navigation
Jump to search
storing translation |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{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://en.wikipedia.org/wiki/Hello_world_program Hello world program]. | 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://en.wikipedia.org/wiki/Hello_world_program Hello world program]. | ||
Revision as of 18:54, 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>