Basically I'm trying to make something similar to a jumpthru without using the platformer behavior, when the collide variable is false collision should be on between sprite and sprite5. New instances automatically have the collide variable as false. Which should mean that the collision between sprite and sprite5 is on.
Here 2 capx hopefully this explains it better. I've left the text objects so you can see the variables between the objects.
The only difference between the 2 capx is that I moved the sprite object above sprite 4 to another position in collide2.capx.
In collide1. The new instances should not be going through sprite5 since the variable is set to false.
Basically when the variable on one instance is set to true it is disabling the collision for all new instances. All existing instances work correctly though.
Here this might explain it best.
press z - (collision works correctly)
now click on one of the instances of sprite on the bottom so it jumps up. (Still working correctly)
now press x - new instance goes through sprite5 when it shouldn't.