How do I Pick nth Instance of Picked Objects

Get help using Construct 2

Post » Tue Jun 20, 2017 6:39 pm

So I am doing a count of objects that have a variable of 1. This is working as it displays in a text.

How do I pick 0,1,2,3,4,5,6,7,8 etc instances of the picked objects?

If PickedCount = 8, I want to pick the 1 through 8th instance each seperately and have them each do something different based on what nth instance it is.

1 nth instance will do this
2 nth instance will do this
3 nth instance will do this
etc, etc

Any ideas would be great help. Thanks
B
9
S
3
Posts: 49
Reputation: 802

Post » Tue Jun 20, 2017 6:45 pm

Use the a sub-event with "pick nth object" for each
B
91
S
31
G
103
Posts: 5,241
Reputation: 67,768


Return to How do I....?

Who is online

Users browsing this forum: megatronx, RetrocadeMedia and 1 guest