State exit/fr
From Second Life Wiki
| Portail LSL | | | Fonctions | | | Évènements | | | Types | | | Constantes | | | Contrôle d'exécution | | | Bibliothèque de scripts | | | Tutoriels |
Évènement : state_exit( ){ ; } |
Exemples
default
{
state_entry()
{
llOwnerSay("Etat par défaut");
}
touch_start(integer detected)
{
state other;
}
state_exit()
{
llOwnerSay("On quitte l'état par défaut");
}
}
state other
{
state_entry()
{
llOwnerSay("Dans l'état \"autre\"");
}
touch_start(integer detected)
{
state default;
}
state_exit()
{
llOwnerSay("On quitte l'état \"autre\"");
}
}
|

