i have a problem with a part of my code
i create an array and i pull out a random object,using get and a random intenger in range,that works as a target for a particle effect,than i feed the location to the spawnactor node ,in the end i remove that object from the array using remove item,because for the next spawnactor,i want the particle effect being spawned in another place,i don’t want any chance of 2 things being spawned at the same location
when the execution flow goes on and there’s the other spawnactor it agains grabs a random entry from the array,that at this point should be resized minus the one i have already used…
problem is:sometimes i still get particles in the same location
i’m pretty sure i’ve aòready used this code with success a couple of time…so what am i missing?
any advice? thanks