This AI is still in early stages of development.
Â
Event.enable(shortName);
The short name of the event to enable.
For example, "destroyed" is the short name for "eventDestroyed".
The event is automatically defined if not present.
true
false
This is useful when you require input/output hooks attached to events to be triggered even if there are no handlers for that event.
Event.enable("gameLoaded");