AL Event

From X-Wiki

Revision as of 01:15, 16 August 2007 by Ayreus (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

An AL Event is a specialized signal that the Artificial Life Engine sends the AL plugin to notify it of the state or configuration changes that control its initialization, status, and execution. The Artificial Life Engine uses one of several constant identifiers that it passes to an Event Handler Script through its $al.Event argument. The events, constants, and their descriptions are given in the following table.

Initialization ('init'): This event is fired whenever a new game is started, or a new AL plugin is detected by the Artificial Life Engine.

Reinitialization ('reinit'):

Enable ('start'):

Disable ('stop'):

Status ('isenabled'):

Timer ('timer'):

<<Work in progress>>

Personal tools