Event: Initialize()

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

initialize()

First defined in: FKiSS1
The initialize event is called exactly once before the artform is displayed on the screen for the first time. It occurs before all other events.
Use this event to do any processing which should take place before the artform becomes visible to the user such as unmapping hidden cels.
There can only be one initialize event.

Example:

;@ initialize()
;@   unmap("hair2.cel") ; At first, "hair2.cel" show be hidden.
;@   let(X, 1)          ; At first, X starts off at 1.