Auto-translated
local x, y = GetObjectPosition ('hero1name')
then
MoveHero ('hero2name', x, y)
hero1name --- the name of the hero to attack (determines its coordinates)
hero2name --- the name of the hero that will move to the specified coordinates each turn.
then
MoveHero ('hero2name', x, y)
hero1name --- the name of the hero to attack (determines its coordinates)
hero2name --- the name of the hero that will move to the specified coordinates each turn.
Whatever