How to copy x unit y times

I want to place a unit (x) in a specific spot and use the scenario editor to copy it y number of times. x and y should be customizable in-game, without having to go to the editor.

The only way I can think of is to create triggers for each unit. But even in that case, the exact number is an issue.

Is there any way to do this?

1 Like