playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
How to count the amount of specific objects in the scene ?[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to count the amount of specific objects in the scene ?[SOLVED] (Read 1581 times)
secondsight
Playmaker Newbie
Posts: 24
How to count the amount of specific objects in the scene ?[SOLVED]
«
on:
February 10, 2018, 09:42:28 PM »
As the title says. What is the easiest way to do this ? This must be quite trivial, right ?
Thanks for your time !
«
Last Edit: February 22, 2018, 05:27:28 AM by jeanfabre
»
Logged
secondsight
Playmaker Newbie
Posts: 24
Re: How to count the amount of specific objects in the scene ?
«
Reply #1 on:
February 11, 2018, 10:34:50 PM »
Really no one knows that ?
Maybe point me a tutorial or the right entry in the manual. I try to understand arrays at the moment, but they seem "overpowered" for this simple task. Actually I need to find objects by string, I guess ? Because the objects I want to find will be generated and thus get a suffix of (1 clone).
I would really appreciate it. Still learning the basics here.
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: How to count the amount of specific objects in the scene ?
«
Reply #2 on:
February 12, 2018, 04:52:14 AM »
Hi.
There is an action called "Get Child Count"
But you would need to drop everything into a parent (empty) object.
I can't find something useful also on the
EcoSystem
So i build one for you, you can get it on the
EcoSystem
Search for 'Scene Objects Count'
I also added an option to search by tag.
Logged
Join the PlayMaker Discord Channel!
secondsight
Playmaker Newbie
Posts: 24
Re: How to count the amount of specific objects in the scene ?
«
Reply #3 on:
February 12, 2018, 06:29:36 AM »
Oh wow, great !
Thanks very much, that´s exactly what I was looking for.
So, there was nothing like this around then ? I´m sure it can become handy for a lot of things.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
How to count the amount of specific objects in the scene ?[SOLVED]