playMaker

Author Topic: Find Gameobjects  (Read 6660 times)

Budde88

  • Full Member
  • ***
  • Posts: 165
Find Gameobjects
« 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

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Find Gameobjects
« Reply #1 on: September 21, 2016, 11:36:35 AM »
See arraylist package from ecosystem. It has that action...

Budde88

  • Full Member
  • ***
  • Posts: 165
Re: Find Gameobjects
« Reply #2 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

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: Find Gameobjects
« Reply #3 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

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Find Gameobjects
« Reply #4 on: September 25, 2016, 08:55:12 AM »
Hi.
You can find several custom actions for arrays on the Ecosystem

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: Find Gameobjects
« Reply #5 on: September 26, 2016, 07:46:05 PM »
Thanks.Dino

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: Find Gameobjects
« Reply #6 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?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Find Gameobjects
« Reply #7 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.

mikosd

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Find Gameobjects
« Reply #8 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?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Find Gameobjects
« Reply #9 on: October 04, 2016, 06:24:20 PM »
Hi,
No they can be without prefab in an array