How do I loop through multiple containers ?

Get help using Construct 2

Post » Fri Oct 23, 2015 9:53 am

How do I loop through multiple containers that each contains a bunch of stuff ?

Understand that I am not looping through stuff in a single container, I want to loop through multiple containers.
I am doing a table display that contain lots and lots of rolls generated real time with 9 columns each.
B
12
S
3
Posts: 288
Reputation: 1,694

Post » Fri Oct 23, 2015 9:57 am

I don't understand the problem, sorry..

Picking an object inside the container references every other object inside the container automatically..
So a simple for each might even work depending on what you want..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Oct 23, 2015 10:41 am

That is correct, but I am not referencing to things INSIDE the container :)
There are MANY instances of these "containers" and I want to loop through all the containers, almost like "loop through all containers of type xxx".

Hope you understand that better :)
B
12
S
3
Posts: 288
Reputation: 1,694

Post » Fri Oct 23, 2015 11:02 am

Toddler wrote:That is correct, but I am not referencing to things INSIDE the container :)
There are MANY instances of these "containers" and I want to loop through all the containers, almost like "loop through all containers of type xxx".

Hope you understand that better :)


As far as I understand:

Containers only consist of the objects that are inside them..
The container itself, isn't really an object..
So to pick a container, you should pick one of the objects inside..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 27 guests