How do I count how many objects were selected by an event?

Get help using Construct 2

Post » Tue Dec 08, 2015 7:11 am

I know that I can count objects selected by an event with a for loop, but I was hoping that there would be some kind of function I could call to just tell me without the for loop. Anyone know of anything?

Thanks!

Ben
B
18
S
6
G
2
Posts: 19
Reputation: 1,808

Post » Tue Dec 08, 2015 7:30 am

look at " pickedcount " - might be what you want

( https://www.scirra.com/manual/search?q=pickedcount )
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,812

Post » Sun Dec 13, 2015 8:12 pm

Hi RamPackWobble. That was exactly what I was looking for. Thank you!
B
18
S
6
G
2
Posts: 19
Reputation: 1,808


Return to How do I....?

Who is online

Users browsing this forum: jkmalau, MoscowModder, terence951, vegapomme27 and 8 guests