Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: bkups2003 on October 23, 2013, 11:13:54 PM

Title: Get Child with Failure Event
Post by: bkups2003 on October 23, 2013, 11:13:54 PM
Is it possible to have a modified Get Child action with a failure event? I use some GameObjects as pools and would like to set it up so that if the pool is not big enough and there is no object left for use in the pool, it will instantiate one. Ie. Instantiate that object on failure.

An alternative is to just add and remove items from an array as the array has a failure event function, however if a pool can do it all by itself without an array, then i would ofcourse prefer this easier and more refined choice.
Title: Re: Get Child with Failure Event
Post by: jeanfabre on October 24, 2013, 02:40:56 AM
Hi,

 What pool system are you using? they should provide access to that kind of information actually.

I made that action here:

http://hutonggames.com/playmakerforum/index.php?topic=5272.0

Bye,

 Jean
Title: Re: Get Child with Failure Event
Post by: bkups2003 on October 24, 2013, 04:05:53 AM
Thanks so much.

I'm just making my own simple pool system.