Hello and welcome to codecombat discourse! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks!
Try to do something like this for all your soldiers hero.command(friend, "move" points[0]) and keep doing that all the way to 3 then you should be good to go.
You have each point for each soldier defined, so now you need to command your soldiers to move to each point and it should work. Command them with hero.command(friend, "move", point)