State exit
From Second Life Wiki
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
Examplesdefault { 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\""); } } |

