Ykkrosh
4e5c5e2d8f
Use HFSM for unit AI. Support queuing orders. Automatically attack back when attacked. Automatically gather from farms after building them. This was SVN commit r7775.
6 lines
202 B
JavaScript
6 lines
202 B
JavaScript
Engine.RegisterInterface("ResourceGatherer");
|
|
|
|
// Message sent from ResourceGatherers to a ResourceSupply entity
|
|
// each time they gather resources from it
|
|
Engine.RegisterMessageType("ResourceGather");
|