Paulo Cezarino wrote:You used the wrong condition. It's pick random instance.
What do you mean? I want to remove 20 random instances. Code says that remove instance 0 every time.. isn't this right?
It's almost right. Construct 2 does not update the instance's number until the end of the loop. So, inside the loop, after instance 0 is destroyed, there will be no instance 0 until the next event.
Edit: My bad! korbaach already addressed the issue. Turns out I was having the same bug on my game but I never counted the instances too... thanks, man! :)