Hi,
There are some array and array maker (more advanced version)
tutorials on the
user tutorial wiki pageto logic works like this:
State 1 (has the array get next action) : the array gets the next item in its list (on the 1st time it will get the item on the index number set into the "Start Index")
Store the Result into a variable.
And it will send the "Loop Event" transition. (in this case connected to State 2)
State 2 :
Do whatever you need to do with the variable (in your case, add a component)
Add a finished transition and point it back to state 1.
When it goes back to state 1 it will get the next item and go again to state 2.
and continues to loop until the last item or if the last item was on the index stated on the "End Index".
The array get next action will send the finished event.
Your loop is done then