This, is the default code:
while True:
enemies = hero.findEnemies()
enemy = hero.findNearest(enemies)
friends = hero.findFriends()
# Send the first soldier of the friends array towards the enemy.
# i in range(1, n) starts the index at the second element!
for i in range(1, len(friends)):
friend = friends[i]
# Command the remaining soldiers to run away!
hero.command(friends[i], "move", {"x": 29, "y": 34})
how do I # Send the first soldier of the friends array towards the enemy.
?