AL Event

From X-Wiki

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