Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: PolyMad on September 08, 2021, 11:12:46 AM
-
As you can see in the video, using the integrated action Get Next Child does not seem to be working correctly.
Get Child Count though is working correctly, so I reverted to Get Random Child and Get Child Count at every cycle for this.
-
Hi.
I believe that get next child is working, BUT since you are destroying the children the index will get messed up.
you could use a Array List and add the objects when you spawn and then use Array List Get Next and destroy.
once all destroy, do a array list clear.
-
Well for now I solved, for the next time I'll see if re-getting the count each time will work.