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: 211
Reputation: 1,477

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
64
S
14
G
3
Posts: 292
Reputation: 7,188


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests