I'm using this C# wrapper
https://github.com/Lamarth/BWAPI-CLI
On a map with only 10 vs 10 marines,
I'm just telling each unit to attack some place behind
(determined by startLocation) the army.
Code: Select all
public void ForceAttack(TilePosition targetPosition)
{
foreach(AiCombatUnitBehavior unit in combatUnits)
{
Position pos = new Position(targetPosition.X, targetPosition.Y);
unit.GetUnit().Attack(pos, false);
}
}
For some reason all units move to (0,0) regardless of using Move, Attack or Rightclick. Hard coding the coordinates doesn't make a difference.
I fear that this is an issue of the C# wrapper.
edit:
Using that position for PingMiniMap pings in the top left corner.