Nothing so complicated (assuming the mesh has UV coords and the objective is to apply a different texture).
For N = 1 to CountChildren(gentChar) EntityTexture GetChild(gentChar,N),TexChar NextThat should do it. The problem is, when 3DS objects are loaded with LoadAnimMesh, a 'pivot' is created then the model segments are the next step down the hierarchy. Odd, but there it is.