How to loop through all spirits in layer

Get help using Construct 2

Post » Thu Feb 20, 2014 12:50 am

Hello All,

I wonder if there is a way to use foreach to loop through all spirits in a specific layer whereas the spirits are not the same type. Currently the foreach that I see in Construct2 allows me only to loop through a specific object.

Thanks in advance
Haroon Shishani
B
5
Posts: 19
Reputation: 770

Post » Thu Feb 20, 2014 1:02 am

Yes, for each will work only for specific objects. You can loop through object on specific layer using "Is on layer" condition.
If you can tell what you exactly need loop with different objects to do, then we could try to sort this out.
B
157
S
64
G
41
Posts: 2,590
Reputation: 34,640


Return to How do I....?

Who is online

Users browsing this forum: jkmalau and 15 guests