Instanced Static Mesh, Removing Instance Issue

If I may chime in, I too had issues removing the correct instances but this relatively simple setup solved it for me:


Explanation:
The Int Array stores the indexes we wish to remove. Since removing a lower number will make the instances go down one position, we remove them from highest to lowest.
We store the values that Max Of Int Array returns so we don’t have to run that function over and over (well, twice, instead of thrice).
After removing the returned Max Value, we set the *Item *of the Index that the Max Value had to -1 so that it will not be chosen again as the max value.
Also I suggest clearing the Int Array after it’s all completed.