How do I check many objects in a loop?

Get help using Construct 2

Post » Mon Mar 30, 2015 11:42 pm

Hello,

let's say I have 50+ objects, and if 1 of these objects goes below Y 450 I want it to get destroyed. Now..is there a simple way how to check for every object without making 50 conditions?

thank you

/e: i can do it with families..just found it~
B
12
S
3
Posts: 208
Reputation: 1,471

Post » Tue Mar 31, 2015 3:05 am

just the usual, i think.
if object.Y < 450 then destroy.
this action only occurs for those objects which matched this condition.
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
58
S
13
G
2
Posts: 283
Reputation: 6,330


Return to How do I....?

Who is online

Users browsing this forum: AllanR, bikachu, oosyrag, QuantumMMX, wirelesstkd and 1 guest