Event: End()

Related Events: initialize, begin, overflow, never
See also: FKiSS, Events, Actions

end()

First defined in: FKiSS1
The end event is called exactly once immediately before the user quits the doll. This event may also be activated by the quit action.
Use this event for last-second interaction. You can't place any animation here since the screen will immediately disappear after this event completes.
There can only be one end event.

Example:

;@ end()
;@   sound("applause.wav") ; When the doll closes, play a sound...
;@   notify("Good bye.")   ; and tell the user good-bye with a message box.