Author Topic: Children Order  (Read 1661 times)


  • Playmaker Newbie
  • *
  • Posts: 18
    • View Profile
Children Order
« on: August 25, 2011, 09:54:34 PM »
I want to iterate through a series of children as an array. I create the children off the parent in a loop. When i then go through the children sequentially, they are not in the order i created them in. This messes up my 'array' of objects. Get Child Num 1 for example, does not get the second object/child created, but the 12th, in my 5x5 grid example. They are all out of order. Any help?

The children are sorted by name. So i now use Set Name in a sequence 00,01,02 etc..., just need to add a function to Set Name Value, to set the name by a string + counter, Building00, Building01 etc....

Thanks, Byron.
« Last Edit: August 29, 2011, 09:10:58 PM by ByronNilsson »