Spawning an array of different Blueprints in order ? ?

Hey guys I am trying to spawn an array of blueprints at different time periods.

I can get them too all spawn mixed together by setting my random integer too 2 but that’s not what I want as this value needs to be changed over time.

is there a way I can change my random integer value so it starts at 0 and then goes up to 2 so that my other blueprints can spawn in later on ?

“NOTE” I need to do this output without firing another pin into the event spawn actor or it spawn another copy of the blueprints.

****

Use a DoN node and hook the counter up to your get index. You may need to -1 on the counter to get it to spawn index 0 first.

Put the length of the array in the N

Do you mean like this ??

If it is that then it sadly hasn’t worked :frowning: how does this node help as isnt it just telling it to do what i am currently doing N amount of times ? cant be this simple surely ?

Don’t random int, you want to do it in order don’t you? You also don’t need to ++ your Update Array, I’m not sure you need that variable. Your array has a length of 3, so 3 should be in your DoN or you use Length off the array node

DoN allow you to execute something N amount of times before you have to reset it. Every time you execute a DoN, the counter ++. The counter is controlling what Index of the array to spawn, it starts at 0. The -1 is because I am unsure if the counter ++ at or after executing, you have to test that yourself

That DoOnce doesn’t have a reset, you are only going to be able to execute once unless you reset it after spawning.

You also have 2 other execs plugging into your SpawnActor, bypassing your DoOnce and DoN which would explain why multiple things are spawning