Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Budde88 on September 19, 2016, 11:09:29 AM

Title: Find Gameobjects
Post by: Budde88 on September 19, 2016, 11:09:29 AM
Basically the same as Find Gameobject, except it would find ALL gameobjects with a specific TAG. Much the same as destroying all objects with a specific tab, except now it just finds them.

Thanks
Title: Re: Find Gameobjects
Post by: dudebxl on September 21, 2016, 11:36:35 AM
See arraylist package from ecosystem. It has that action...
Title: Re: Find Gameobjects
Post by: Budde88 on September 22, 2016, 01:17:08 PM
Hey,

Thanks for the reply, your right it does have that action BUT
it does not allow you to store the Gameobject and the Find Gameobject
does allow you to store it, so in essence it's not exactly the same action
and in my case I need to store the Gameobject otherwise I can't make all my gameobject tween to an area...

Any other suggestions that may help?

Much appreciated
Title: Re: Find Gameobjects
Post by: human890209 on September 24, 2016, 08:46:30 AM
I also want the "s" relative Actions. As Array is a official built-in feature, I think Find GameObjects/Objects, Physics Hit Result and many "-s" method which result will be arrays should be welcomed by Playmaker. ;D
Title: Re: Find Gameobjects
Post by: djaydino on September 25, 2016, 08:55:12 AM
Hi.
You can find several custom actions for arrays on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)
Title: Re: Find Gameobjects
Post by: human890209 on September 26, 2016, 07:46:05 PM
Thanks.Dino
Title: Re: Find Gameobjects
Post by: human890209 on September 29, 2016, 05:14:20 AM
Can't find a "Find Game Objects" action. Need help, what keyword to search? What's the Custom Action's Name?
Title: Re: Find Gameobjects
Post by: djaydino on September 29, 2016, 06:18:05 AM
Hi,
What are you trying to do, find created prefabs? or gameobjects that are already in the game?

Find gameobjects is expensive (read 'lag') especially if you have many objects.

A better way would be :

For prefab :
When a prefab is created, add them to an array list or multiple array lists so you can sort them by group and then you can use the tags for different things

For gameobject that are already in game you can make an array and drag them in.
Title: Re: Find Gameobjects
Post by: mikosd on October 04, 2016, 12:34:39 PM
Thank you so much! And btw I dont need to do set my gameobjects to prefabs right?
Title: Re: Find Gameobjects
Post by: djaydino on October 04, 2016, 06:24:20 PM
Hi,
No they can be without prefab in an array