Iterate through child entities
Blitz3D Forums/Blitz3D Programming/Iterate through child entities
| ||
I'm trying to make functions to modify grids of entities that are child of a mesh entity. I would like to know if I could iterate through the child entities. if so, would FindChild help me go through all the child entities. or how would you go about doing so? I found this thread, but I have my doubt on the need for having complex recursive trickery just to pass through 1 level of child entities. http://www.blitzbasic.com/Community/posts.php?topic=63653#710347 |
| ||
Maybe you could use the CountChildren command with the GetChild command ? Else, try Beakers NextChild function: http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=796 |
| ||
Thanks b32! |