playMaker

Author Topic: Get Next Child  (Read 1670 times)

u0204909

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Get Next Child
« on: August 06, 2012, 08:41:16 AM »
Hi Alex, sorry to trouble you with one more problem. I used Get Next Child, and sometimes it doesnt iterate through all the children of the object. I checked with Get Child Count and the loop event finishes at a count of 2 (which means I have 2 children uniterated). I havent tried other test cases and I could work around with just using a int counter but if Get Next Child can work properly then it would be great.

I noticed Jean used a similar algorithm for Array List Get Next, and actually I also had some problems with that action too. Sometimes the Get Next actions work though so I am not sure what is wrong too.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: Get Next Child
« Reply #1 on: August 07, 2012, 03:06:32 AM »
Hi,

 I could very well be that the procedure you are doing while iterating might affect the "next" process. I never had problems with it and I use on a regular bases on many projects. Could you share a repro or screenshots of the fsm procedure, and what's happening on each iteration?

bye,

 Jean