playMaker

Author Topic: Find Child Problem [SOLVED]  (Read 2894 times)

artician

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 318
Find Child Problem [SOLVED]
« on: December 07, 2011, 08:55:03 PM »
Hi, can someone tell me why I'm getting this discrepancy in my Find Child action? - -



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?



« Last Edit: December 13, 2011, 12:55:26 PM by alexchouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3999
  • Official Playmaker Support
    • LinkedIn
Re: Find Child Problem
« Reply #1 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?

artician

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 318
Re: Find Child Problem
« Reply #2 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.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3999
  • Official Playmaker Support
    • LinkedIn
Re: Find Child Problem
« Reply #3 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!