What am I trying to achieve: If a bullet hits sprite2, all bullets must be destroyed. Here:
But this doesn't work. Normally, if I want to iterate through all instances in Construct, how do I do that?
System -> On Collision (Advanced) -> Don't Pick
I see... so it's not implemented in Construct 2 yet.
Develop games in your browser. Powerful, performant & highly capable.
in c2, you could create a variable outside of 'bullet' that is changed by 'bullet'.
background.bullet_hit_sprite2 (boolean set to false at start up)
event: bullet collides with sprite2 >
action...set background.bullet_hit_sprite2 to 'true'
event: bullet (object) > if background.bullet_hit_sprite2 = 'true' >
i think this will work. it should help you get around 'picking' for now.
hope it helps...