Happy to help out. What you're doing is exactly what I did at first when figuring out Galaxy.
One minor point, you might want to change "while (i < 5)" to "while (i < array_count)". :)
You'll also want to change the declaration of "t" to be of type "point", not "int", as you're saving points in there.
You'll want to also keep your web browser open to this link: http://cortexrp.com/starcraft/natives.galaxy. That would be the SC2 Galaxy natives list. You'll find all the useful functions there.
Happy to help out. What you're doing is exactly what I did at first when figuring out Galaxy.
One minor point, you might want to change "while (i < 5)" to "while (i < array_count)". :)
You'll also want to change the declaration of "t" to be of type "point", not "int", as you're saving points in there.
You'll want to also keep your web browser open to this link: http://cortexrp.com/starcraft/natives.galaxy. That would be the SC2 Galaxy natives list. You'll find all the useful functions there.
If you look closely, you'll find:
So it looks like you want...
...to spawn the unit itself.
Take a look at:
to actually tell the unit to do a specific order.