You could use the "repeat" condition combined with another trigger condition, like
variable = 1
+
repeat N times > create object.
you could combine it with a sub event to create a different object depending on the loop index.
variable = 1
+
repeat N times
sub events>
loopindex = 0 >create object type 1
loopindex =1 >create object type 2
etc.