It is hard to tell without looking at your events. Can you share the capx or screenshot of your events so everyone can better look at it.
Here is a part of the code: http://screenshot.net/53v57f0 (sorry cant attach files here)
I have another problem with this code.
I have set it up so that a box is spawned randomly every 0-4 seconds under the condition that there are less than 4 boxes in the scene.
Once I destroy a box, another box is supposed to spawn between 0-4 seconds, but instead the box spawns immediately after I destroy 1. I have tested this for
a couple minutes straight hundred of times, since I thought that the box might be spawning in the 0-ish time frame. But no, it does not, it always spawns straight away.
It seems that when the 4 boxes have been spawned, and I wait for 4 seconds or more to destroy a box, it is spawned straight away like I said. The random time does not work after I wait the 4 seconds, seems like it loads a box into memory during the time that the boxes are all loaded and after the 4 seconds I wait.
Now I can't jump over this, to me it seems that the code is not behaving as I am making it to, but I might be missing something since I am have just started working in Construct 2 today. Thanks for the help.