0ad/binaries/data/mods/public/simulation/components/interfaces/UnitAI.js
Ykkrosh f2515bec84 Fix some whitespace in scripts
This was SVN commit r11803.
2012-05-09 12:14:22 +00:00

14 lines
451 B
JavaScript

Engine.RegisterInterface("UnitAI");
// Message of the form { "idle": true },
// sent whenever the unit's idle status changes.
Engine.RegisterMessageType("UnitIdleChanged");
// Message of the form { "to": "STATE.NAME" }.
// sent whenever the unit changes state
Engine.RegisterMessageType("UnitAIStateChanged");
// Message of the form { "to": orderData }.
// sent whenever the unit changes state
Engine.RegisterMessageType("UnitAIOrderDataChanged");