Create AI.

The event functions to be used by the dispatcher.