This code has been declared by its author to be Public Domain code.
Err - sorry Chroma, but I can't see the point of this code snippet?
In that it does exactly the same as Blitz's native findchild and doesn't handle finding child entities recursively?
It allows you to find a child in a .b3d model file. You can then hide, move, etc etc. It doesn't work with the regular native command.
And a bonus is that it works will .3ds etc so you can use it for all. But it was made specifically for finding .b3d children, which like I said...can't be done with the regular FindChild command.
which like I said...can't be done with the regular FindChild command.
Er.. yes it can. :) And it works with 3ds etc. Madjack is correct.
Yeah, I've been using findchild() on .B3D meshes for years.
I know it works with other 3d file formats like .3ds, I've been using that for years also. But the built in FindChild doesn't work with .b3d to find a child so you can hide it etc. You have to count through the children to find it like in the function.
This surely doesn't work as is.
FindChild is internal to Blitz3D. Plus EntityName is surely a string?