Difference between revisions of "State exit/fr"

From Second Life Wiki
Jump to navigation Jump to search
(modification in progress)
(No difference)

Revision as of 09:28, 20 January 2008

Description

Event: state_exit( ){ ; }

Déclenché dans une condition de transition de l'état.


Caveats


Examples

default
{
    state_entry()
    {
        llOwnerSay("in default state");
    }
    touch_start(integer detected)
    {
        state other;
    }
    state_exit()
    {
        llOwnerSay("leaving default state");
    }
}

state other
{
    state_entry()
    {
        llOwnerSay("in state \"other\"");
    }
    touch_start(integer detected)
    {
        state default;
    }
    state_exit()
    {
        llOwnerSay("leaving state \"other\"");
    }
}

Deep Notes

Signature

event void state_exit(  );