Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: artician on December 07, 2011, 08:55:03 PM

Title: Find Child Problem [SOLVED]
Post by: artician on December 07, 2011, 08:55:03 PM
Hi, can someone tell me why I'm getting this discrepancy in my Find Child action? - -

(http://www.creathcarter.com/site_media/misc/nyanCat.jpg)

I have a parent object (o_sys_lever), and two children beneath it (o_sys_lever_platformA, and o_sys_leverPlatformB).
I want each child object to locate its counterpart and store it in a variable.  

The PlatformA object keeps acquiring the 'B' object despite the specified naming.  Halp?



Title: Re: Find Child Problem
Post by: Alex Chouls on December 10, 2011, 11:42:59 PM
Hmmm, I tried a simple test here and it worked as expected.

Do you have a simple project that shows the problem that you could send me?
Title: Re: Find Child Problem
Post by: artician on December 12, 2011, 06:40:06 PM
It worked correctly when I switched to "Find Child".  Obviously I was a bit mixed up even when I wrote the subject for this post, so that probably didn't help anything.

Anyway, I originally used "Get Child", and it didn't work.  I'm probably misunderstanding the difference between these two similar functions.

Thanks for the reply.
Title: Re: Find Child Problem
Post by: Alex Chouls on December 13, 2011, 12:55:11 PM
Actually Get Child had a bug! Fix posted here:
http://hutonggames.com/playmakerforum/index.php?topic=918.0

Good catch, thanks!