Lua: Sample 2

Home / Scripts / Lua: Sample 2

This script detects if the AI player has any living Halberdier or Macemen units and sends them on an attack move to the center of the player's base.  It's interesting to note that the destination point for each unit is unique... because math is fun to use with script variables.

dof_lua_condition

Comments are closed.