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: 50
Reputation: 804

Post » Tue Jun 20, 2017 6:45 pm

Use the a sub-event with "pick nth object" for each
B
94
S
33
G
118
Posts: 5,396
Reputation: 75,853


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, dop2000, Lancifer and 28 guests