This AI is still in early stages of development.
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Current »
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");